spring-projects / spring-projects/spring-session
Support for NATS JetStream Key/Value store as an alternative for Redis
Open
@marcusdacoregio is already working on this.
Since May 13, 2024.
type: enhancement
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 1.2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 55
Description
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): https://github.com/nats-io/nats-server/issues/3251
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.