Closed joshrotenberg closed 1 month ago
@joshrotenberg Thank you for sharing. Our URI support is not so dynamic yet. In the current design, when you're using URI you should put all parameters that our URI processor supports.
I agree that stronger documentation would be helpful.
Hi @sazzad16 , @joshrotenberg , please assign this to me, Thanks
@kachida You can craft a PR. No 'assign'ment necessary.
UnifiedJedis and possibly other type constructors that accept a
URI
and aJedisClientConfig
instantiate themselves with a mix of elements from both. This isn't unreasonable given that the URI can contain more than just host and port, but it isn't documented.Options to fix it:
For example:
See https://github.com/redis/jedis/blob/54426424a21070bba3b12454e48aa692efc3a9fa/src/main/java/redis/clients/jedis/UnifiedJedis.java#L90