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

Add etcd v2 watcher logic with Topology update #3

Open
KaymeKaydex opened this issue Dec 23, 2024 · 0 comments
Open

Add etcd v2 watcher logic with Topology update #3

KaymeKaydex opened this issue Dec 23, 2024 · 0 comments
Labels
enhancement Some enhancement that outside default logic provider Issue based on topology providers code

Comments

@KaymeKaydex
Copy link
Collaborator

In etcd v2, you can track changes to data using the watch mechanism. This allows clients to receive notifications when a key (or a range of keys) is added, updated, or deleted.
So, we can watch topology changes of tarantool in etcd and change library topology

example of usage:

curl -L http://127.0.0.1:4001/v2/keys/config/app_settings/watch?wait=true

souce issue: KaymeKaydex/go-vshard-router#29

@KaymeKaydex KaymeKaydex added provider Issue based on topology providers code enhancement Some enhancement that outside default logic labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some enhancement that outside default logic provider Issue based on topology providers code
Projects
None yet
Development

No branches or pull requests

1 participant