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
When setting up the leader election it would be great to be able to provide own LeaderCallbacks.
Use case
I'm required to integrate with health monitoring system and send regular hearth beats upstream with interval dictated by the system to the endpoint dictated by the system. So in HA setup I'm thinking only leader should manage this and persist the information in some object so any new elected leader can just carry on. But currently there's no way to tell if the running instance is actually leading or not.
Activity
csviri commentedon Aug 9, 2023
Makes sense to me, can add this into next minor release.
csviri commentedon Aug 11, 2023
@r57 added a PR, please take a look, if this is something that you thought of