Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add last entry id for XREADs and support XREADs reply as map #3791
Add last entry id for XREADs and support XREADs reply as map #3791
Changes from 3 commits
a6666c1
6e21552
3d233df
9140c3d
7e54283
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 1464 in src/main/java/redis/clients/jedis/BuilderFactory.java
Codecov / codecov/patch
src/main/java/redis/clients/jedis/BuilderFactory.java#L1464
Check warning on line 2699 in src/main/java/redis/clients/jedis/CommandObjects.java
Codecov / codecov/patch
src/main/java/redis/clients/jedis/CommandObjects.java#L2693-L2699
Check warning on line 9469 in src/main/java/redis/clients/jedis/Jedis.java
Codecov / codecov/patch
src/main/java/redis/clients/jedis/Jedis.java#L9468-L9469
Check warning on line 1541 in src/main/java/redis/clients/jedis/PipeliningBase.java
Codecov / codecov/patch
src/main/java/redis/clients/jedis/PipeliningBase.java#L1541
Check warning on line 1551 in src/main/java/redis/clients/jedis/PipeliningBase.java
Codecov / codecov/patch
src/main/java/redis/clients/jedis/PipeliningBase.java#L1551
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.
This could be
XREAD_LAST_ENTRY = MAXIMUM_ID
, to make it obvious that it is only an alias. Somehow I find it more informative to have different names, depending on the usage context.Check warning on line 3071 in src/main/java/redis/clients/jedis/UnifiedJedis.java
Codecov / codecov/patch
src/main/java/redis/clients/jedis/UnifiedJedis.java#L3071
Check warning on line 3083 in src/main/java/redis/clients/jedis/UnifiedJedis.java
Codecov / codecov/patch
src/main/java/redis/clients/jedis/UnifiedJedis.java#L3083