valkey-java icon indicating copy to clipboard operation
valkey-java copied to clipboard

Support 'redis', 'rediss', 'valkey', and 'valkeys' as Protocols in URIs

Open ungerts opened this issue 10 months ago • 1 comments

Description

The Jedis client fork for Valkey should support the following protocols in URIs:

  • redis (standard Redis connection)
  • rediss (secure Redis connection)
  • valkey (standard Valkey connection)
  • valkeys (secure Valkey connection)

Any other protocol should be explicitly disallowed to ensure consistency and prevent unexpected behavior. Expected Behavior.

  • When a URI with redis://, rediss://, valkey://, or valkeys:// is provided, the client should correctly parse and establish a connection.

Supporting valkey and valkeys ensures proper integration with Valkey while maintaining backward compatibility with Redis-based URIs.

ungerts avatar Mar 10 '25 13:03 ungerts

@ungerts Hello, as of now, there is no difference between Valkey and Java in the connection string. Why do you need to distinguish between them?

yangbodong22011 avatar Jun 03 '25 01:06 yangbodong22011