-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KAFKA-15145: Don't re-process records filtered out by SMTs on Kafka client retriable exceptions in AbstractWorkerSourceTask #13955
Conversation
…lient retriable exceptions in AbstractWorkerSourceTask
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Yash, great catch! Left one thought on testing and a possible behavior change below; LMKWYT.
...ect/runtime/src/test/java/org/apache/kafka/connect/runtime/AbstractWorkerSourceTaskTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Added some minor comments/suggestions.
...ect/runtime/src/test/java/org/apache/kafka/connect/runtime/AbstractWorkerSourceTaskTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Yash!
Let me know how you feel about the re-transforming-on-retry discussion. Happy to hold off on merging if you'd like to tweak this more, but otherwise, I'm comfortable with these changes and am ready to merge+backport.
Thanks Chris, I agree with the point you brought up regarding potential poison pill messages. This PR can be merged. |
…lient retriable exceptions in AbstractWorkerSourceTask (#13955) Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Chris Egerton <chrise@aiven.io>
…lient retriable exceptions in AbstractWorkerSourceTask (apache#13955) Reviewers: Sagar Rao <sagarmeansocean@gmail.com>, Chris Egerton <chrise@aiven.io>
From https://issues.apache.org/jira/browse/KAFKA-15145:
Committer Checklist (excluded from commit message)