cadonna commented on a change in pull request #8902: URL: https://github.com/apache/kafka/pull/8902#discussion_r444739053
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorContextImpl.java ########## @@ -118,16 +111,24 @@ public void logChange(final String storeName, final byte[] value, final long timestamp) { throwUnsupportedOperationExceptionIfStandby("logChange"); + + final TopicPartition changelogPartition = stateManager().changelogTopicPartitionFor(storeName); + if (changelogPartition == null) { + throw new IllegalStateException("Sending records to state store " + storeName + + " which has not been registered."); Review comment: Good catch! I will add the logging disabled case to the message. ---------------------------------------------------------------- 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