You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "lh0156 (via GitHub)" <gi...@apache.org> on 2026/08/03 00:44:59 UTC

[PR] KAFKA-15340: Test request quotas on KRaft controllers [kafka]

lh0156 opened a new pull request, #23051:
URL: https://github.com/apache/kafka/pull/23051

   ### What
   
   Add direct controller-listener coverage to RequestQuotaTest for KRaft controller APIs that use the request quota. The test verifies that the client quota propagates to the controller, and that both the response throttle time and controller request-quota metric are updated for AllocateProducerIds and UpdateFeatures.
   
   AllocateProducerIds now uses the active broker id and epoch in the test request, matching the existing controller integration-test contract and exercising the successful response path.
   
   ### Tests
   
   - ./gradlew :core:test --tests kafka.server.RequestQuotaTest --no-build-cache --console=plain
   - ./gradlew :core:test --tests kafka.server.RequestQuotaTest.testControllerResponseThrottleTime --no-build-cache --console=plain (repeated runs)
   - :core:checkstyleTest and :core:spotbugsMain passed as part of the test task
   - git diff --check
   
   Closes KAFKA-15340


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-15340: Test request quotas on KRaft controllers [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23051:
URL: https://github.com/apache/kafka/pull/23051#issuecomment-5235600255

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org