Rancho-7 commented on code in PR #19207:
URL: https://github.com/apache/kafka/pull/19207#discussion_r2006682952


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/OffsetMetadataManager.java:
##########
@@ -875,7 +872,7 @@ public boolean cleanupExpiredOffsets(String groupId, 
List<CoordinatorRecord> rec
                     // We don't expire the offset yet if there is a pending 
transactional offset for the partition.
                     if (condition.isOffsetExpired(offsetAndMetadata, 
currentTimestampMs, config.offsetsRetentionMs()) &&
                         !hasPendingTransactionalOffsets(groupId, topic, 
partition)) {
-                        
expiredPartitions.add(appendOffsetCommitTombstone(groupId, topic, partition, 
records).toString());
+                        appendOffsetCommitTombstone(groupId, topic, partition, 
records);

Review Comment:
   Got it,sorry for the misunderstanding.I agree that the returned value is 
unnessary,and I will remove it.



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to