Introduce factory method overload accepting the default port so that Sentinel uses the right port.
Refine tests. Refine Javadoc.
See #2928
Original pull request: #3002
We now support customization of Jedis' JedisClientConfig that is used for various client configurations for setting extended properties that Spring Data Redis doesn't configure itself.
Closes: #3007
Original Pull Request: #3014
Update tests to simplify assertions and enhance GH issue references.
Simplify parsing logic for addressing edge cases and added more test scenarios.
See #2862
Original Pull Request: #3000
Without this fix there's a problem with parsing of the cluster nodes command output (e.g. a trailing comma after cport is making the parsing fail)
with this change we're converting regexp parsing to code parsing which also includes support for trailing commas after cport
Closes#2862
Original Pull Request: #3000
We now select the database on the dedicated connection. Previously, this call never happened on the dedicated connection and the only way a database could be selected is through the ConnectionFactory configuration.
Closes: #2984
Original Pull Request: #2990
We now use a value object for caching the topology to avoid races in updating the cache timestamp.
Also, we set the cache timestamp after obtaining the topology to avoid that I/O latency expires the topology cache.
Closes: #2986
Original Pull Request: #2989
Redis secondary-index keys are now formatted using helper methods instead of using chains of concatAll(toBytes(…)) sequences for more readability.
Original pull request: #2795Closes: #2794
Add getFirst/getLast to Reactive and Bound Operations.
Simplify getLast implementation.
Reorder methods, tweak Javadoc, add since tags.
Original pull request: #2966
See #2937
Remove verifyMode setters on LettuceConnectionFactory to not expose additional properties already exposed via ClientConfiguration.
Deprecate LettuceClientConfiguration.isVerifyPeer in favor of getVerifyMode.
See #2899
Original pull request: #2934
RedisKeyValueAdapter is now a lifecycle bean participating in Spring's SmartLifecycle support. Sticking to Lifecycle aligns with lifecycle support in RedisConnectionFactory where connections are stopped upon shutdown.
Previously, RedisKeyValueAdapter stopped connections upon destroy() causing a delayed shutdown behavior that was out of sync with its RedisConnectionFactory.
Closes: #2957
Original Pull Request: #2959
This commit makes sure to consider the ShadowCopy flag for expiring key events and prevents delete attempts if shadow copy is off.
Closes: #2954
Original Pull Request: #2955