You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/04/07 06:23:08 UTC

[GitHub] [kafka] showuon commented on a diff in pull request #11979: MINOR: Clean up of TransactionManager and RecordAccumulator

showuon commented on code in PR #11979:
URL: https://github.com/apache/kafka/pull/11979#discussion_r844739227


##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java:
##########
@@ -790,7 +781,6 @@ private void adjustSequencesDueToFailedBatch(ProducerBatch batch) {
                 throw new IllegalStateException("Sequence number for batch with sequence " + inFlightBatch.baseSequence()
                         + " for partition " + batch.topicPartition + " is going to become negative: " + newSequence);
 
-            log.info("Resetting sequence number of batch with current sequence {} for partition {} to {}", inFlightBatch.baseSequence(), batch.topicPartition, newSequence);

Review Comment:
   Aha, nice catch!



-- 
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-unsubscribe@kafka.apache.org

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