private static boolean verifyEquivalentMetadataForHost(final StreamsMetadataImpl left, final StreamsMetadataImpl right) {
        return left.hostInfo().equals(right.hostInfo())
            && left.stateStoreNames().equals(right.stateStoreNames())
            && left.topicPartitions().equals(right.topicPartitions())
            && left.standbyStateStoreNames().equals(right.standbyStateStoreNames())
            && left.standbyTopicPartitions().equals(right.standbyTopicPartitions());
    }
@return  true iff all fields other than {@link StreamsMetadataImpl#topologyName()}
         match between the two StreamsMetadata objects
streams/src/test/java/org/apache/kafka/streams/integration/NamedTopologyIntegrationTest.java