chia7712 commented on code in PR #19207:
URL: https://github.com/apache/kafka/pull/19207#discussion_r2008119468
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/OffsetMetadataManager.java:
##########
@@ -949,7 +944,6 @@ private TopicPartition appendOffsetCommitTombstone(
records.add(GroupCoordinatorRecordHelpers.newOffsetCommitTombstoneRecord(groupId,
topic, partition));
TopicPartition tp = new TopicPartition(topic, partition);
Review Comment:
we don't need to create this object only for logging.
```java
log.trace("[GroupId {}] Removing expired offset and metadata for {}-{}",
groupId, topic, partition);
```
--
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]