Update CLIENT-SETINFO to support suffixes
Opened this issue · 1 comments
chayim commented
CLIENT SETINFO should be extended to support community members inserting their own suffixes, for Redis usage.
- Clients should by default set-lib during connect with their name and version.
- Clients should allow users to not send this
- We should allow a user do send a suffix to the LIB-NAME portion - this allows us to learn about how things are used.
- Our clients continue to send their version upstream for LIB-VER
Strings should have the client name, and an optional suffix. They should be formatted ClientName(). For example:
- If you're NRedisStack - LIB-NAME: NRedisStack(StackExchange.Redis-v2.6.8;.NET-6.2.18) LIB-VERSION: 0.9.1
- If you're a project using NRedisStack (say SemtanticKernel): LIB-NAME (NRedisStack(SemanticKernel-v0.1.7;.NET-6.2.18) LIB-VERSION: 0.9.1
Considerations:
- Users should not send brackets, or braces, and we should error accordingly.
- We should replace spaces a user sends with hyphens