mirror of https://github.com/apache/kafka.git
Uncaught exceptions logged during task stop were misleading because the task is already on its way of being shutdown. The suppression of exception causes a change in behavior as the caller method now calls `statusListener.onShutdown` instead of `statusListener.onFailure` which is the right behavior. A new test was added to test the right behavior for uncaught exception during shutdown and existing test was modified to test uncaught exception during normal execution. Reviewers: Chris Egerton <chrise@confluent.io>, Konstantine Karantasis <k.karantasis@gmail.com> |
||
|---|---|---|
| .. | ||
| api | ||
| basic-auth-extension/src | ||
| file/src | ||
| json | ||
| mirror | ||
| mirror-client/src | ||
| runtime/src | ||
| transforms/src | ||