guozhangwang commented on a change in pull request #11703: URL: https://github.com/apache/kafka/pull/11703#discussion_r799128273
########## File path: streams/src/main/java/org/apache/kafka/streams/state/internals/MeteredKeyValueStore.java ########## @@ -171,42 +169,24 @@ private void registerMetrics() { @Deprecated private void initStoreSerde(final ProcessorContext context) { final String storeName = name(); - final String changelogTopic = ProcessorContextUtils.changelogFor(context, storeName); - final String prefix = getPrefix(context.appConfigs(), context.applicationId()); + final String changelogTopic = ProcessorContextUtils.changelogFor(context, storeName, Boolean.FALSE); Review comment: Yes, but I'm wondering if the two types of flow are really necessary. It seems to me that the topic should have always been created at the `init` phase already, and hence it seems the null check is not necessary. @cadonna Would need your quick thoughts about this. -- 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