lbradstreet commented on a change in pull request #11140:
URL: https://github.com/apache/kafka/pull/11140#discussion_r678720053



##########
File path: core/src/main/scala/kafka/server/AbstractFetcherThread.scala
##########
@@ -265,6 +265,7 @@ abstract class AbstractFetcherThread(name: String,
       Errors.forCode(leaderEpochOffset.errorCode) match {
         case Errors.NONE =>
           val offsetTruncationState = getOffsetTruncationState(tp, 
leaderEpochOffset)
+          info(s"Truncating partition $tp to leader epoch and offset 
$leaderEpochOffset")

Review comment:
       Good idea. I pushed up this change and I did the same thing with the hwm 
based truncation too.




-- 
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]


Reply via email to