wcarlson5 commented on a change in pull request #9273: URL: https://github.com/apache/kafka/pull/9273#discussion_r499871031
########## File path: streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java ########## @@ -436,6 +496,8 @@ private void maybeSetError() { } if (setState(State.ERROR)) { + metrics.close(); Review comment: We did have it this way in the kip. If we stick to this for now I think that we can clear this up easily when we decide what we want to do with the sates in general in when we take care of the discussion in KIP-663 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org