Expose method to add upstream driver libraries to CLIENT SETINFO payload #3542
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
addUpstreamDrivermethod.getLibraryNamemethod.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.
mvn formatter:formattarget. Don’t submit any formatting related changes.