kafka/connect
kpatelatwork 10308b7a52
KAFKA-9988: Suppress uncaught exceptions in log messages during Connect task shutdown (#10503)
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>
2021-04-12 08:06:18 -07:00
..
api MINOR: apply Utils.isBlank to code base (#10124) 2021-02-20 11:44:29 +08:00
basic-auth-extension/src MINOR: apply Utils.isBlank to code base (#10124) 2021-02-20 11:44:29 +08:00
file/src MINOR: Remove unused variables, methods, parameters, unthrown exceptions, and fix typos (#9457) 2021-03-10 13:21:30 +08:00
json MINOR: replace hard-coding utf-8 with StandardCharsets.UTF_8 (#10079) 2021-02-09 10:06:01 +08:00
mirror MINOR: Improve error message in MirrorConnectorsIntegrationBaseTest (#10268) 2021-03-12 12:14:53 +00:00
mirror-client/src KAFKA-10834: Remove redundant type casts in Connect (#10053) 2021-02-04 17:08:56 -08:00
runtime/src KAFKA-9988: Suppress uncaught exceptions in log messages during Connect task shutdown (#10503) 2021-04-12 08:06:18 -07:00
transforms/src KAFKA-12170: Fix for Connect Cast SMT to correctly transform a Byte array into a string (#9950) 2021-03-03 22:17:49 +00:00