Skip to content

Commit ab5b88d

Browse files
committed
Remove comment
1 parent 3ffeb79 commit ab5b88d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaUnboundedReader.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,6 @@ public TopicPartition topicPartition() {
481481
// Update consumedOffset and avgRecordSize
482482
void recordConsumed(long offset, int size) {
483483
nextOffset = offset + 1;
484-
485-
// This is always updated from single thread. Probably not worth making atomic.
486484
avgRecordSize.update(size);
487485
}
488486

0 commit comments

Comments
 (0)