-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DATAREDIS-1140 - Add support to Redis Streams using Jedis Client #1977
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution, great work. I left a few comments, mostly high-level aspects. Care to have a look?
maxLength = options.getMaxlen(); | ||
} | ||
|
||
return connection.invoke().from(BinaryJedis::xadd, MultiKeyPipelineBase::xadd, record.getStream(), id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work, we introduced the invoker just recently.
src/main/java/org/springframework/data/redis/connection/jedis/JedisStreamCommands.java
Outdated
Show resolved
Hide resolved
src/main/java/org/springframework/data/redis/connection/jedis/JedisStreamCommands.java
Show resolved
Hide resolved
src/main/java/org/springframework/data/redis/connection/jedis/JedisStreamCommands.java
Outdated
Show resolved
Hide resolved
src/main/java/org/springframework/data/redis/connection/jedis/StreamConverters.java
Outdated
Show resolved
Hide resolved
Add support for Jedis Streams using JedisCluster. Add fromMany(…) for non-pipelined usage to JedisInvoker. Reformat code, add author tags. Extract Jedis-specific stream type converters to StreamConverters. Properly convert StreamEntry and StreamEntryID into list/map. Update tests. See #1711 Original pull request: #1977.
Thank you for your contribution. That's merged and polished now. |
resolves #1711