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, the two alignment
tests (KafkaConfigSchemaTest, DescribeConfigsResponseTest) and necessary
changes in `ConfigCommand`.
Could you please have another look when you have a moment?
Thanks!
--
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]