Support for NATS JetStream Key/Value store as an alternative for Redis
n9 opened this issue · comments
n9 commented
Expected Behavior
To have the option to use NATS JetStream Key/Value store instead of Redis as a distributed storage for sessions.
Current Behavior
NATS JetStream Key/Value store is not supported.
Context
- Docs: https://docs.nats.io/nats-concepts/jetstream/key-value-store
- Java client: https://github.com/nats-io/nats.java
- TTL per key is planned for the next minor version (v2.11): nats-io/nats-server#3251
Marcus Hert Da Coregio commented
Hi, @n9. Thanks for the suggestion.
I think that the best alternative would be to create an external project that adds the support using Spring Session. Then we can assess its fit into the framework. What do you think?
n9 commented
@marcusdacoregio Ok.