Key Value with TTL #7264
-
I have setup Nats server v2.11.8 with jetstream. The bucket with TTL of 1m and Limit Market TTL of 5m then i created a kv with ttl of 2. What I am getting from the KV watcher is that the KV is expiring in 1m. Is this the correct behavior?
KV watcher
|
Beta Was this translation helpful? Give feedback.
Answered by
MauriceVanVeen
Sep 6, 2025
Replies: 1 comment 5 replies
-
This is expected based on the MaxAge of 1m, which removes any message after that TTL. If you'd instead use 10m for the MaxAge, then the message and delete marker don't get removed earlier. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
MauriceVanVeen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is expected based on the MaxAge of 1m, which removes any message after that TTL. If you'd instead use 10m for the MaxAge, then the message and delete marker don't get removed earlier.