fvaleri commented on code in PR #24247:
URL: https://github.com/apache/kafka/pull/24247#discussion_r4612173357
##########
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:
Thanks for raising. We definitely need to add
ConfigEntry.ConfigSource.DYNAMIC_CLUSTER_MIRROR_CONFIG and update the KIP as it
is public API. Please also align DescribeConfigsResponse.ConfigSource.
I think we can include in this PR. I will update the KIP.
--
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]