arnabnandy7 commented on code in PR #22908:
URL: https://github.com/apache/kafka/pull/22908#discussion_r3674577910
##########
clients/src/test/java/org/apache/kafka/common/requests/RequestResponseTest.java:
##########
@@ -359,6 +359,61 @@ public void testSerialization() {
}
}
+ @Test
+ public void testClientThrottlesResponsesWithThrottleTime() {
+ Map<ApiKeys, Short> postKip219Version = Map.ofEntries(
Review Comment:
@chia7712 Thanks for the suggestion. Moving the KIP-219 version mapping into
`AbstractResponse` would centralize the throttling logic and let us remove the
remaining version-specific overrides. Since this PR has already been merged,
I’ll look into addressing this in a follow-up PR.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]