-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Upgrade jedis minor and lettuce major versions. #3295
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
Upgrade jedis minor and lettuce major versions. #3295
Conversation
| Assert.notNull(pattern, "Pattern must not be null"); | ||
|
|
||
| return cmd.keys(pattern).collectList(); | ||
| return cmd.keys(new String(ByteUtils.getBytes(pattern))).collectList(); |
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.
Nit: Let's use LettuceConverters.toString(…) to follow a single conversion approach.
| Assert.notNull(pattern, "Pattern must not be null"); | ||
| // TODO: stream elements instead of collection | ||
| return cmd.keys(pattern).collectList().map(value -> new MultiValueResponse<>(pattern, value)); | ||
| return cmd.keys(new String(ByteUtils.getBytes(pattern))).collectList().map(value -> |
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.
Nit: Let's use LettuceConverters.toString(…) to follow a single conversion approach.
|
Would it make sense to switch directly to Jedis' newly introduced |
Closes spring-projects#3282 Signed-off-by: viktoriya.kutsarova <viktoriya.kutsarova@redis.com>
f7fd4be to
288aed8
Compare
This PR upgrades the underlying Redis client drivers to the following versions:
Lettuce: 6.8.1.RELEASE → 7.2.1.RELEASE
Jedis: 7.0.0 → 7.2.1
API Compatibility Fixes
The Lettuce 7.x upgrade required the following compatibility adjustments:
Closes #3282