We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I create a watch there is delay in watch starting and receiving events.So if I start a watch and put/delete keys in etcd I am missing events.
If I can get Created event in WatchResponse then I can wait for the event to put/delete keys in etcd.
Used Thread.sleep(1000) which seems to be working but not ideal.
Looks like WithCreatedNotify is already there in go client. https://github.com/etcd-io/etcd/blob/bdbbde998b7ed434b23676530d10dbd601c4a7c0/client/v3/op.go#L484
The text was updated successfully, but these errors were encountered:
can you provide a pr ?
Sorry, something went wrong.
@lburgazzoli PR #1187
watcher: Added WithCreatedNotify Option for receiving created event
151c1d7
This adds WatchOption to receive watch created event Fixes #1186 Signed-off-by: Giridharan Ramasamy <46867712+giri-vsr@users.noreply.github.com>
Successfully merging a pull request may close this issue.
When I create a watch there is delay in watch starting and receiving events.So if I start a watch and put/delete keys in etcd I am missing events.
If I can get Created event in WatchResponse then I can wait for the event to put/delete keys in etcd.
Used Thread.sleep(1000) which seems to be working but not ideal.
Looks like WithCreatedNotify is already there in go client.
https://github.com/etcd-io/etcd/blob/bdbbde998b7ed434b23676530d10dbd601c4a7c0/client/v3/op.go#L484
The text was updated successfully, but these errors were encountered: