An open source Valkey client library that supports Valkey and Redis open source 6.2, 7.0 and 7.2. Valkey GLIDE is designed for reliability, optimized performance, and high-availability, for Valkey and Redis OSS based applications. GLIDE is a multi language client library, written in Rust with programming language bindings, such as Java and Python
Apache License 2.0
219
stars
47
forks
source link
Store and apply decoder per command in a Transaction #2147
Currently, string decoder option could be applied to the entire response from redis-rs. In case of transaction, the decoder applied to responses of all commands in the transaction.
In this feature we need to add option to set a decoder per each command in transaction.
Use Case
new Transaction().set(key).dump(key);
Such transaction could be properly executed with a binary decoder rigth now, so a user will never see OK response from set command ([0x4F, 0x4B]).
Having this feature implemented a user will be able to combine different types of decoder for commands in a single transaction.
Applicable to all clients.
Proposed Solution
No response
Other Information
No response
Acknowledgements
[X] I may be able to implement this feature request
Describe the feature
Currently, string decoder option could be applied to the entire response from
redis-rs
. In case of transaction, the decoder applied to responses of all commands in the transaction. In this feature we need to add option to set a decoder per each command in transaction.Use Case
Such transaction could be properly executed with a binary decoder rigth now, so a user will never see
OK
response fromset
command ([0x4F, 0x4B]
).Having this feature implemented a user will be able to combine different types of decoder for commands in a single transaction.
Applicable to all clients.
Proposed Solution
No response
Other Information
No response
Acknowledgements
Client version used
1.0
Environment details (OS name and version, etc.)
N/A