Description
The Exit class is not thread-safe, and exposes our tests to race conditions and inconsistent execution. It is not possible to make it thread-safe due to the static design of the API.
We should migrate the existing usages to the replacement, before finally removing the legacy Exit.
Attachments
Issue Links
- is blocked by
-
KAFKA-16421 Refactor CommandDefaultOptions subclasses to throw exceptions instead of calling exit.
- Open
-
KAFKA-16450 Add thread-safe alternative to Exit
- Patch Available
- relates to
-
KAFKA-16349 ShutdownableThread fails build by calling Exit with race condition
- Resolved
- links to