Replies: 2 comments 2 replies
-
Yes, that's what I would expect if you started the watch after the TTL expiration. The TTL is accomplished by leveraging the max_age limit retention policy on a stream, and a key is really a specific subject of messages. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@simonxbto Should have added this note: If a key entry is deleted because of expiry, the watch will not get a notification of this removal. There is discussion with the server team on how to handle this. Consider this a known issue. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
The method IKeyValueWatcher.Watch is not called when an KeyValueEntry is delete because of TTL expiration.
I am using IKeyValue.WatchAll to subscribe.
Can you confirm this is expected behavior ?
Regards,
Simon
Beta Was this translation helpful? Give feedback.
All reactions