chia7712 commented on code in PR #20740:
URL: https://github.com/apache/kafka/pull/20740#discussion_r2450452880
##########
storage/src/main/java/org/apache/kafka/storage/internals/log/UnifiedLog.java:
##########
@@ -1214,6 +1214,8 @@ private LogAppendInfo append(MemoryRecords records,
appendInfo.setLastOffset(duplicate.lastOffset());
appendInfo.setLogAppendTime(duplicate.timestamp());
appendInfo.setLogStartOffset(logStartOffset);
+ logger.info("Duplicate batch detected,
returning AppendInfo from duplicate batch with last offset: {}, first offset:
{}, next offset: {}, skipped messages: {}",
Review Comment:
I'm a bit concerned about the log flooding if the producer has network
problems. Wouldn't the trace level be adequate?
--
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]