vvcephei commented on a change in pull request #11676:
URL: https://github.com/apache/kafka/pull/11676#discussion_r793216634



##########
File path: 
streams/src/main/java/org/apache/kafka/streams/state/internals/AbstractRocksDBSegmentedBytesStore.java
##########
@@ -264,8 +267,12 @@ public void init(final ProcessorContext context,
 
         segments.openExisting(this.context, observedStreamTime);
 
+        this.positionCheckpointFile = new File(context.stateDir(), this.name() 
+ ".position");

Review comment:
       Thanks! @patrickstuedi consolidated the logic of actually reading the 
position checkpoints into StoreQueryUtils, as you suggested. Also, after some 
cleanup, we only have two instances of this now, in 
`AbstractRocksDBSegmentedBytesStore` and in `RocksDBStore`. 




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to