Skip to content

Register client info#400

Open
viktoriya-kutsarova wants to merge 2 commits intoRedisLabs:masterfrom
viktoriya-kutsarova:register-client-info
Open

Register client info#400
viktoriya-kutsarova wants to merge 2 commits intoRedisLabs:masterfrom
viktoriya-kutsarova:register-client-info

Conversation

@viktoriya-kutsarova
Copy link
Copy Markdown

This PR implements client library identification on Redis servers using the CLIENT SETINFO command. When connections are established, the connector now automatically registers itself with Redis, allowing server administrators to identify and monitor Spark-Redis client connections.

Key Changes

  • Added RedisClientLibraryInfo object to encapsulate library name ("sparkr") and version information extracted from the package manifest
  • Integrated ClientSetInfoConfig into ConnectionPool to automatically send client info on connection establishment
  • Added comprehensive test suite (ConnectionPoolTest) to verify client info registration, connection pooling behavior, and authentication scenarios
  • Client info format: lib-name=jedis(sparkr_vXXX) (version extracted from JAR manifest or "unknown" in development)

@tishun tishun self-requested a review January 21, 2026 09:41
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