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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org