Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible and how to run a preferred replica election with sarama? #2744

Open
hjweddie opened this issue Dec 13, 2023 · 1 comment
Open
Labels
Feature request stale/exempt Issues and pull requests that should never be closed as stale

Comments

@hjweddie
Copy link

Description

I am developing kafka management tools with sarama, and I don't know that is it possible and how to run a preferred replica election with sarama?

Additional context

None

@prestona
Copy link
Member

Hi @hjweddie - it looks like the elect leaders API is used to implement leader election in the Java client. Unfortunately this API is not currently implemented by Sarama. So to answer you question: no this is not currently possible with Sarama.

If you would like to contribute an implementation of the elect leaders API - I'm sure it would be gratefully received. 😄

@dnwe dnwe added Feature request stale/exempt Issues and pull requests that should never be closed as stale labels Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request stale/exempt Issues and pull requests that should never be closed as stale
Projects
None yet
Development

No branches or pull requests

3 participants