Skip to content

Conversation

vamsisayimpu
Copy link

KRaft Broker Heartbeat Fix for Rolling Restarts

  • Addresses broker freezing during rolling restarts in KRaft mode
  • Prevents data loss from partition unavailability
  • Improves cluster stability during maintenance operations
  • Enhances production deployment reliability
Parameter Default Value Description
DEFAULT_METADATA_LOADING_TIMEOUT_EXTENSION_MS 30000ms Extended timeout during metadata loading
DEFAULT_MAX_BATCHES_PER_ITERATION 10 Max batches before yielding
DEFAULT_MAX_PROCESSING_TIME_MS 50ms Max processing time before yielding
DEFAULT_PUBLISHER_BATCH_SIZE 5 Publishers processed per batch
DEFAULT_MAX_PUBLISHER_PROCESSING_TIME_MS 100ms Max publisher processing time

Copy link

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Kafka Broker kraft needs-attention triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant