Skip to content

Configurable LeaderCallbacks #2009

Closed

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.

Activity

  1. added this to the 4.5 milestone on Aug 9, 2023
  2. csviri commented on Aug 9, 2023

    @csviri
    Collaborator

    Makes sense to me, can add this into next minor release.

  3. self-assigned this
    on Aug 9, 2023
  4. linked a pull request that will close this issuefeat: leader election callbacks #2015on Aug 11, 2023
  5. csviri commented on Aug 11, 2023

    @csviri
    Collaborator

    @r57 added a PR, please take a look, if this is something that you thought of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions