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

KAFKA-2711; SaslClientAuthenticator no longer needs KerberosNameParser in constructor #390

Closed
wants to merge 1 commit into from

Conversation

ijuma
Copy link
Contributor

@ijuma ijuma commented Oct 30, 2015

Also refactor KerberosNameParser and KerberosName to make the code
clearer and easier to use when shortName is not needed.

…ticator`

Also refactor `KerberosNameParser` and `KerberosName` to make the code
clearer.
@junrao
Copy link
Contributor

junrao commented Oct 30, 2015

Thanks for the patch. LGTM.

@asfgit asfgit closed this in d9ae33d Oct 30, 2015
@ijuma ijuma deleted the kafka-2711 branch March 1, 2016 22:49
hachikuji added a commit to hachikuji/kafka that referenced this pull request Aug 21, 2020
This PR drops the `FindQuorum` API and adds new logic to use `Fetch` for quorum discovery instead.
wyuka pushed a commit to wyuka/kafka that referenced this pull request Sep 29, 2022
…tions (apache#390)

TICKET = LIKAFKA-45529
LI_DESCRIPTION =
Sometimes, a leader host can become too busy to serve Fetch requests from followers within the default request timeout of 10s. The impact is that all followers experience the timeout and fall out of the ISR, resulting in UnderMinISR partitions.

A proposed solution to this problem is to let the leader host request a leadership switch for the affected partitions.
The leader host already knows what followers have been in the ISR, and thus can recommend a new leader to the controller.
This PR is the 1st step toward that goal by adding a new API to support electing recommended leaders for partitions.
Specifically, the PR includes the following changes

adding support in the controller for electing the recommended leaders. The recommended leader must be alive and already in the ISR;
changing the ElectLeadersRequest.json to add a new optional field that indicates the recommended leaders;
exposing a new API in the KafkaAdminClient.
EXIT_CRITERIA = We will likely propose this change as a KIP in upstream Kafka. Thus this hotfix can exit when the change is merged upstream and pulled in as part of a major release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants