redisson-extensions

Extensions for Redisson Java library (a client for Redis DB)

Лицензия

Лицензия

Категории

Категории

Redis Данные Базы данных Redisson
Группа

Группа

tech.javajefe
Идентификатор

Идентификатор

redisson-extensions
Последняя версия

Последняя версия

0.0.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

redisson-extensions
Extensions for Redisson Java library (a client for Redis DB)
Ссылка на сайт

Ссылка на сайт

https://github.com/javajefe/redisson-extensions
Система контроля версий

Система контроля версий

https://github.com/javajefe/redisson-extensions

Скачать redisson-extensions

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/tech.javajefe/redisson-extensions/ -->
<dependency>
    <groupId>tech.javajefe</groupId>
    <artifactId>redisson-extensions</artifactId>
    <version>0.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/tech.javajefe/redisson-extensions/
implementation 'tech.javajefe:redisson-extensions:0.0.4'
// https://jarcasting.com/artifacts/tech.javajefe/redisson-extensions/
implementation ("tech.javajefe:redisson-extensions:0.0.4")
'tech.javajefe:redisson-extensions:jar:0.0.4'
<dependency org="tech.javajefe" name="redisson-extensions" rev="0.0.4">
  <artifact name="redisson-extensions" type="jar" />
</dependency>
@Grapes(
@Grab(group='tech.javajefe', module='redisson-extensions', version='0.0.4')
)
libraryDependencies += "tech.javajefe" % "redisson-extensions" % "0.0.4"
[tech.javajefe/redisson-extensions "0.0.4"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.redisson : redisson jar 3.10.2
com.google.code.gson : gson jar 2.8.5
org.slf4j : slf4j-api jar 1.7.25

test (4)

Идентификатор библиотеки Тип Версия
org.codehaus.groovy : groovy-all jar 2.5.6
org.spockframework : spock-core jar 1.2-groovy-2.5
org.testcontainers : spock jar 1.10.6
org.slf4j : slf4j-simple jar 1.7.25

Модули Проекта

Данный проект не имеет модулей.

Extensions for Redisson Java library

Redisson is an amazing client library for Redis DB implementing a lot of interesting feature on top of standard Redis API. However, some Redis APIs were not implemented (ex. XINFO), some Redis APIs were implemeted as-is and they require to improve (ex. XADD command accepts only one message per call and this approach makes batch ingestion into stream relatively slow).

This small library tries to implement some missing functions. The approach is very simple: every command is implemented as Lua script.

How do I use it?

Just use it as a standard maven dependency (from Maven Central repository)

<dependency>
    <groupId>tech.javajefe</groupId>
    <artifactId>redisson-extensions</artifactId>
    <version>0.0.4</version>
    <type>jar</type>
</dependency>

Release notes

v 0.0.4
  • Now SCRIPT FLUSH, etc. does not make consequent executions fail.
v 0.0.3
  • Batch XADD now returns list of StreamMessageId-s it has inserted into the stream.
  • Changed Maven groupId.
v 0.0.2
  • Added few validations and unit tests for Batch XADD command.
  • Implemented XINFO GROUPS command.
  • Implemented getStreamLastDeliveredId helper method for Redis Streams. Returns last-delivered-id from XINFO GROUPS command result.
  • Implemented getStreamTailSize helper method for Redis streams. Returns number of messages in the stream were not delivered to the reading group yet.
v 0.0.1
  • Implemented batch XADD command.

TODO

  • Extend input parameters validation.
  • API refactoring.

Версии библиотеки

Версия
0.0.4