You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have many resources, each resource uses election to select a leader, and the prefix key such like /leader/resourceA, /leader/resourceB, etc. election has observe() method but each leader key needs to create one goroutine to watch, if there are many leader keys seems waste too much, is there any way to observer all election under prefix /leader?
This discussion was converted from issue #19142 on January 08, 2025 10:19.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have many resources, each resource uses election to select a leader, and the prefix key such like /leader/resourceA, /leader/resourceB, etc. election has observe() method but each leader key needs to create one goroutine to watch, if there are many leader keys seems waste too much, is there any way to observer all election under prefix /leader?
Beta Was this translation helpful? Give feedback.
All reactions