Skip to content

Conversation

@viktoriya-kutsarova
Copy link

@viktoriya-kutsarova viktoriya-kutsarova commented Dec 1, 2025

This PR introduces support for attaching upstream driver library information to the CLIENT SETINFO command.
To enable this, a new method is exposed in RedisURI.java that allows callers to register additional library identifiers that should be included in the library-name field sent to Redis.

Changes:

  • Added a method to RedisURI for specifying upstream driver libraries - addUpstreamDriver method.
  • Ensures these libraries are appended to the CLIENT SETINFO payload when establishing a connection - updated the getLibraryName method.

Why we need the change:

Some drivers, frameworks, or SDK layers are built on top of this client and need a way to report their own library identifiers to Redis. This helps improve observability, analytics, and troubleshooting by making the client stack visible through CLIENT LIST and related introspection commands.


  • You have read the contribution guidelines.
  • You applied code formatting rules using the mvn formatter:format target. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.

@viktoriya-kutsarova viktoriya-kutsarova force-pushed the expose-methods-to-identify-upstream-drivers branch from 012198a to cfa5e3e Compare December 1, 2025 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant