Icewind52 commented on code in PR #24248:
URL: https://github.com/apache/kafka/pull/24248#discussion_r4582247298


##########
clients/src/main/java/org/apache/kafka/common/config/ConfigResource.java:
##########
@@ -36,6 +36,7 @@ public final class ConfigResource {
      * Type of resource.
      */
     public enum Type {
+        CLUSTER_MIRROR((byte) 64),

Review Comment:
   Done. authorizeAlterResource now returns UNSUPPORTED_VERSION for 
CLUSTER_MIRROR, and I added CLUSTER_MIRROR cases to 
testHandleLegacyAlterConfigsErrors and 
testInvalidIncrementalAlterConfigsResources to verify it.
   
   Ran `./gradlew core:test --tests kafka.server.ControllerApisTest` and all 
tests passed.



-- 
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]

Reply via email to