-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add support to the use of JedisSocketFactory using a pool #2293
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
Conversation
mina-asham
commented
Nov 28, 2020
- Support for JedisSocketFactory has already been added to the lowest level Jedis to support adding any custom socket factory (e.g. UDS), this propagates the support in the JedisPool too
8fbfdca
to
5641d90
Compare
src/main/java/redis/clients/jedis/DefaultJedisSocketFactory.java
Outdated
Show resolved
Hide resolved
This comment was marked as off-topic.
This comment was marked as off-topic.
- Support for JedisSocketFactory has already been added to the lowest level Jedis to support adding any custom socket factory (e.g. UDS), this propagates the support in the JedisPool too - Also fix Jedis/BinaryJedis constructors that broke after the introduction of config due to missing client initialization
74c9884
to
08a4b38
Compare
…isClientConfig and cleanup JedisFactory
src/main/java/redis/clients/jedis/DefaultJedisSocketFactory.java
Outdated
Show resolved
Hide resolved
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.
I'm not 100% about the change in
src/main/java/redis/clients/jedis/JedisSocketFactory.java
I'm leaving this discussion/debate to other reviewers.
Introducing |
I think that makes sense, it will be a major overhaul though so I don't think we should block this here, having something that works for 3.x (specially that we already support that in the Jedis class) and then we work on something bigger for 4.x |
src/main/java/redis/clients/jedis/DefaultJedisSocketFactory.java
Outdated
Show resolved
Hide resolved
f472d8c
to
c939b78
Compare