jihoonson commented on a change in pull request #7267: Logic adjustments to SeekableStreamIndexTaskRunner. URL: https://github.com/apache/incubator-druid/pull/7267#discussion_r265703669
########## File path: indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java ########## @@ -142,6 +142,12 @@ static final String METADATA_PUBLISH_PARTITIONS = "publishPartitions"; private final Map<PartitionIdType, SequenceOffsetType> endOffsets; + + // lastReadOffsets are the last offsets that were read and processed. + private final ConcurrentMap<PartitionIdType, SequenceOffsetType> lastReadOffsets = new ConcurrentHashMap<>(); Review comment: Why is this a `ConcurrentHashMap`? ---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
