Github user zentol commented on the issue: https://github.com/apache/flink/pull/3495 I love this issue, it's just so damn interesting. You can find an implementation of my approach [here](https://github.com/zentol/flink/commit/2c40e660a883ec4db28cf92913daf0a103563fc8). First we generate a tree structure containing all ConfigOptions, based on the components of the key. We then insert the ConfigGroups into the corresponding nodes, marking sub trees. Finally, for each ConfigGroup we recursively search the entire tree, extracting all ConfigOptions that are contained in the sub tree of the ConfigGroup, that are not part of another, more specific, ConfigGroup. It also as a separate branch for *Options classes that don't have any annotation, making them optional.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---