public Map<Subtopology, TopicsInfo> subtopologyTopicsInfoMapExcluding(final Set<String> topologiesToExclude) {
        final Map<Subtopology, TopicsInfo> subtopologyTopicsInfo = new HashMap<>();
        applyToEachBuilder(b -> {
            if (!topologiesToExclude.contains(b.topologyName())) {
                subtopologyTopicsInfo.putAll(b.subtopologyToTopicsInfo());
            }
        });
        return subtopologyTopicsInfo;
    }
@param topologiesToExclude the names of any topologies to exclude from the returned topic groups,
                           eg because they have missing source topics and can't be processed yet

@return                    flattened map of all subtopologies (from all topologies) to topics info
streams/src/main/java/org/apache/kafka/streams/processor/internals/TopologyMetadata.java