DL1231 commented on PR #16887: URL: https://github.com/apache/kafka/pull/16887#issuecomment-2301893041
> This PR is looking quite good now but I notice that there's one behaviour which doesn't seem to be supported. > > If I use `bin/kafka-configs.sh --bootstrap-server localhost:9092 --entity-type groups --describe`, I think I would expect it to list the group resources for which there are configs defined and their configs. What it does is list the groups which exist and their configs, but it omits group resources for which configs are defined but there is no actual group in existence at this time. > > It might take a KIP to fix this (which of course would be beyond the scope of this PR), but this does seem like the right place to begin the discussion at least. For topics, you can only define configs if the topic exists. For client metrics, the resource comes into existence as a result of defining the configs. For groups, there are essentially two resources - a config resource and the group itself. Perhaps we could introduce a new RPC to the Kafka protocol called 'ListGroupConfigResources', which responds with a list of group configuration resources, regardless of the group's existence. -- 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]
