You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "C0urante (via GitHub)" <gi...@apache.org> on 2023/03/14 15:56:57 UTC

[GitHub] [kafka] C0urante commented on pull request #13379: KAFKA-14799: Ignore source task requests to abort empty transactions

C0urante commented on PR #13379:
URL: https://github.com/apache/kafka/pull/13379#issuecomment-1468372731

   Thanks @chia7712, good catch with that edge case! You're correct about the behavior in that scenario; the record-based boundary is given precedence over the batch-based one.
   
   I've added test cases to cover both instances of this scenario (record-based commit and batch-based abort, and batch-based commit and record-based abort), and I've updated the Javadocs for `TransactionContext` to clarify the behavior in this scenario.
   
   I've also fixed a small flaky test issue in the `ExactlyOnceWorkerSourceTaskTest` suite.


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