Skip to content

Configurable LeaderCallbacks #2009

Closed
@r57

Description

@r57

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions