Closed
Description
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.