ijuma commented on a change in pull request #9747: URL: https://github.com/apache/kafka/pull/9747#discussion_r542452824
########## File path: clients/src/test/java/org/apache/kafka/common/protocol/ApiKeysTest.java ########## @@ -55,11 +61,14 @@ public void schemaVersionOutOfRange() { */ @Test public void testResponseThrottleTime() { - List<ApiKeys> authenticationKeys = Arrays.asList(ApiKeys.SASL_HANDSHAKE, ApiKeys.SASL_AUTHENTICATE); + Set<ApiKeys> authenticationKeys = EnumSet.of(ApiKeys.SASL_HANDSHAKE, ApiKeys.SASL_AUTHENTICATE); + // Newer protocol apis include throttle time ms even for cluster actions + Set<ApiKeys> clusterActionsWithThrottleTimeMs = EnumSet.of(ApiKeys.ALTER_ISR); Review comment: cc @bbejeck ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org