chia7712 commented on a change in pull request #10158: URL: https://github.com/apache/kafka/pull/10158#discussion_r578965629
########## File path: connect/runtime/src/main/java/org/apache/kafka/connect/util/KafkaBasedLog.java ########## @@ -366,6 +346,42 @@ private void readToLogEnd() { } } + // Visible for testing + Map<TopicPartition, Long> readEndOffsets(Set<TopicPartition> assignment) { + log.trace("Reading to end of offset log"); + + Map<TopicPartition, Long> endOffsets; Review comment: unused variable ---------------------------------------------------------------- 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