kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-13978: Don't skip exceptions in Kafka streams custom handlers

Open Smeb opened this issue 3 years ago • 4 comments

Previously IllegalArgumentException and IllegalStateException errors would always trigger an application shutdown. With this change those errors are treated the same as all other exceptions thrown while an application processes a stream, and are processed by the registered uncaught exception handler.

Tested using unit and integration tests. Since this is removing a feature, no new tests were added.

Committer Checklist (excluded from commit message)

  • [x] Verify design and implementation
  • [ ] Verify test coverage and CI build status
  • [ ] Verify documentation (including upgrade notes)

Smeb avatar Jun 27 '22 07:06 Smeb

CI appears to timeout but I don't see how it could be related to my changes - I can also see that's the case for a lot of other PRs. Is this a known issue? The tests do run locally.

Smeb avatar Jun 27 '22 07:06 Smeb

@Smeb This is marked as a blocker for 3.3.0. It looks like there are merge conflicts with trunk. Let's find a committer to review this PR.

jsancio avatar Aug 05 '22 12:08 jsancio

Hey @Smeb , I just checked trunk and 3.3, and I don't see the code that you're removing in your PR. It seems like someone else may have fixed this issue in the mean time. Can you confirm whether or not the issue is resolved?

vvcephei avatar Aug 10 '22 14:08 vvcephei

Removing the 3.3 label given the comment from @vvcephei. If it is a blocker for 3.3, please provide the rationale.

ijuma avatar Aug 10 '22 16:08 ijuma

Looks like it was removed in #12421

Smeb avatar Aug 25 '22 20:08 Smeb