jedis-extensions

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

License

License

Categories

Categories

Jedis Data Databases
GroupId

GroupId

tech.javajefe
ArtifactId

ArtifactId

jedis-extensions
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

jedis-extensions
Extensions for Jedis Java library (a client for Redis DB)
Project URL

Project URL

https://github.com/javajefe/jedis-extensions
Source Code Management

Source Code Management

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

Download jedis-extensions

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
redis.clients : jedis jar 3.0.1
com.google.code.gson : gson jar 2.8.5
org.slf4j : slf4j-api jar 1.7.25

test (4)

Group / Artifact Type Version
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

Project Modules

There are no modules declared in this project.

Extensions for Jedis Java library

Jedis is a small and simple client library for Redis DB. However, some latest Redis APIs are not implemented (for example, Redis Streams commands).

This small library tries to implement some missing functions. The approach is very simple: every command is implemented as Lua script. BWT it would be obviously better to get native support (at least of stream commands) in Jedis.

How do I use it?

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

<dependency>
    <groupId>tech.javajefe</groupId>
    <artifactId>jedis-extensions</artifactId>
    <version>0.0.2</version>
    <type>jar</type>
</dependency>

Release notes

v 0.0.2
  • Now SCRIPT FLUSH, etc. does not makes consequent executions fail.
v 0.0.1
  • Implemented batch XADD command.
  • Implemented XDEL command.
  • Implemented XLEN command.
  • Implemented XRANGE command.
  • Implemented XREVRANGE command.

TODO

  • Implement the rest of commands.
  • Extend input parameters validation.
  • API refactoring.
  • Implement support of Sentinel and Cluster modes.

Versions

Version
0.0.2