G
YouTube TikTok Games
Skip to content

feat(gateways): add kafka initial rebalance delay ms config - #4907

Open
michaelwilner wants to merge 1 commit into
apache:masterfrom
michaelwilner:feat/kafka-gateway-initial-rebalance-delay-ms-cfg
Open

michaelwilner wants to merge 1 commit into
apache:masterfrom
michaelwilner:feat/kafka-gateway-initial-rebalance-delay-ms-cfg

Conversation

@michaelwilner

Copy link
Copy Markdown

Which issue does this PR address?

Closes #4906

Rationale

The gateway fixes group.initial.rebalance.delay.ms at 3 seconds with no way to change it, while Kafka and Redpanda both let operators set it, down to 0.

What changed?

IGGY_KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS now sets GroupCoordinatorConfig::initial_rebalance_delay in milliseconds, validating the value is >= 0.

Added documentation to the README environment variable table and CONSUMER_GROUPS.md as well.

Local Execution

  • Passed: cargo fmt -p iggy-gateway-kafka -- --check, cargo clippy -p iggy-gateway-kafka --all-targets --all-features -- -D warnings, cargo test -p iggy-gateway-kafka --bin iggy-gateway-kafka (24 passed, including the two new config tests), markdownlint on the two changed docs
  • Pre-commit hooks not ran
  • Ran the binaries as part of our own integration test suite that stands up a Kafka broker already to exercise the full system end to end

AI Usage

Used Claude to research conventions to match with the rest of the repo and generate tests.

@github-actions

Copy link
Copy Markdown

Thanks for the PR. It is labeled S-waiting-on-review and queued for review.

If AI assistance was used to create this PR, you are required to run the team-review skill before opening it.

Slash commands (own line, regular comment) move it around the queue:

  • /ready - back to S-waiting-on-review after addressing feedback
  • /author - flip to S-waiting-on-author while you finish changes
  • /request-review @user-or-team - request a reviewer
  • /pin - exempt the PR from the stale bot, /unpin to undo

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added the S-waiting-on-review PR is waiting on a reviewer label Nov 14, 2026
@michaelwilner
michaelwilner force-pushed the feat/kafka-gateway-initial-rebalance-delay-ms-cfg branch from 97323d3 to c20229d Compare November 14, 2026 20:57
@hubcio

hubcio commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

@krishvishal can u check this one?

This branch has not been deployed

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

Labels

S-waiting-on-review PR is waiting on a reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kafka gateway: environment variable for group.initial.rebalance.delay.ms

2 participants