ableegoldman commented on a change in pull request #10342:
URL: https://github.com/apache/kafka/pull/10342#discussion_r596443720
##########
File path:
streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java
##########
@@ -186,7 +186,7 @@ public ProcessorStateManager(final TaskId taskId,
this.changelogReader = changelogReader;
this.sourcePartitions = sourcePartitions;
- this.baseDir = stateDirectory.directoryForTask(taskId);
+ this.baseDir = stateDirectory.getOrCreateDirectoryForTask(taskId);
Review comment:
Note: the only logical changes are in `StateDirectory` and
`StateDirectoryTest`, the rest of the files were just touched by renaming this
method to include the `getOrCreate` prefix, since this is otherwise pretty
opaque.
----------------------------------------------------------------
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:
[email protected]