Open kamran-redis opened 2 years ago
Lettuce already support ExtendedSocketOptions
, https://github.com/lettuce-io/lettuce-core/commit/b08891dc5f7d4799b7ea837ca57447bf127989cc and I agree add this to Jedis, so self-assigned.
ps : this feature need jdk11
This issue is marked stale. It will be closed in 30 days if it is not updated.
Redis Sentinel subscribes to +switch-master channel to listen for changes. For pub/sub connections client libraries should give the ability to set socket keep alive settings to detect dead servers or broken connections see https://github.com/redis/redis/issues/7855 Linux socket setting that are required are
and are supported in modern versions of Java per socket ExtendedSocketOptions
Ask Allow the ability to set TCP_KEEPINTERVAL, TCP_KEEPIDLE, TCP_KEEPCOUNT.
Current workaround to set the values at OS level