ableegoldman commented on a change in pull request #11609: URL: https://github.com/apache/kafka/pull/11609#discussion_r789560559
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamsMetadataState.java ########## @@ -428,7 +469,7 @@ private void rebuildMetadata(final Map<HostInfo, Set<TopicPartition>> activePart final Set<HostInfo> standbyHosts = new HashSet<>(); for (final StreamsMetadata streamsMetadata : allMetadata) { if (streamsMetadata instanceof NamedTopologyStreamsMetadataImpl - && ((NamedTopologyStreamsMetadataImpl) streamsMetadata).namedTopologyToStoreNames().get(topologyName).contains(storeName)) { + && ((NamedTopologyStreamsMetadataImpl) streamsMetadata).storeNamesByTopology().get(topologyName).contains(storeName)) { Review comment: See the latest commit, I refactored how we handle this so that each StreamsMetadata object is associated with a single `topologyName` -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org