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


##########
tools/src/main/java/org/apache/kafka/tools/ConfigCommand.java:
##########
@@ -248,13 +250,19 @@ static void alterConfig(Admin adminClient, 
ConfigCommandOptions opts) throws IOE
                     validateBrokerId(entityName, entityType);
                 }
                 configResourceType = ConfigResource.Type.BROKER;
-            } else {
+            } else if (GROUP_TYPE.equals(entityType)) {
                 configResourceType = ConfigResource.Type.GROUP;
+            } else {
+                configResourceType = ConfigResource.Type.CLUSTER_MIRROR;
             }
             try {

Review Comment:
   Done, added an explicit CLUSTER_MIRROR_TYPE branch and an 
IllegalArgumentException catch-all, matching describeResourceConfig.



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