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-18837: Validate controller.quorum.fetch.timeout.ms is a positive value #18998

Open
wants to merge 5 commits into
base: trunk
Choose a base branch
from

Conversation

TaiJuWu
Copy link
Contributor

@TaiJuWu TaiJuWu commented Feb 21, 2025

Jira: https://issues.apache.org/jira/browse/KAFKA-18837

We currently don't have a Validator when defining the controller.quorum.fetch.timeout.ms configuration. Setting it to 0 or a negative value does not make sense and prevents the broker from starting.
With a validator, the error would appear when the storage is formatted. Also it would be show a meaningful valid values field in the broker configuration documentation.
This is likely to apply to other quorum configurations.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions bot added triage PRs from the community kraft small Small PRs labels Feb 21, 2025
@TaiJuWu TaiJuWu marked this pull request as draft February 21, 2025 21:38
@TaiJuWu TaiJuWu marked this pull request as ready for review February 21, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kraft small Small PRs triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant