Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kv put, ability to set ttl for each key #1766

Open
vtolstov opened this issue Jan 8, 2025 · 3 comments
Open

kv put, ability to set ttl for each key #1766

vtolstov opened this issue Jan 8, 2025 · 3 comments
Labels
proposal Enhancement idea or proposal

Comments

@vtolstov
Copy link

vtolstov commented Jan 8, 2025

Proposed change

add ability to set ttl for each key

Use case

reuse nats as kv storage in apps

Contribution

need to investigate code

@vtolstov vtolstov added the proposal Enhancement idea or proposal label Jan 8, 2025
@piotrpio
Copy link
Collaborator

piotrpio commented Jan 9, 2025

Hey @vtolstov, thanks for creating the issue. Per message TTL will be added in nats-server v2.11 - when it's released we'll adopt it for KV.

@vtolstov
Copy link
Author

vtolstov commented Jan 9, 2025

nice to hear, do you have some estimation for this ?

@Jarema
Copy link
Member

Jarema commented Jan 9, 2025

2.11 should land in Q1, hopefully in the half part of it.
Before the release, preview build will be available too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

3 participants