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


##########
tools/src/main/java/org/apache/kafka/tools/ConfigCommand.java:
##########
@@ -648,6 +658,10 @@ private static DescribeConfigContext 
describeConfigContext(String entityType, St
         } else if (GROUP_TYPE.equals(entityType)) {
             configResourceType = ConfigResource.Type.GROUP;
             dynamicConfigSource = 
ConfigEntry.ConfigSource.DYNAMIC_GROUP_CONFIG;
+        } else if (CLUSTER_MIRROR_TYPE.equals(entityType)) {
+            configResourceType = ConfigResource.Type.CLUSTER_MIRROR;
+            // TODO: ConfigEntry.ConfigSource has no dynamic source for 
cluster mirrors yet, so UNKNOWN is a placeholder

Review Comment:
   Hi @fvaleri,
   I have added the two enums, the "keep in sync" comments, and the two 
alignment tests (KafkaConfigSchemaTest, DescribeConfigsResponseTest). 



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