You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Greg Harris (Jira)" <ji...@apache.org> on 2024/03/25 16:43:00 UTC
[jira] [Created] (KAFKA-16420) Replace utils.Exit with a thread-safe alternative
Greg Harris created KAFKA-16420:
-----------------------------------
Summary: Replace utils.Exit with a thread-safe alternative
Key: KAFKA-16420
URL: https://issues.apache.org/jira/browse/KAFKA-16420
Project: Kafka
Issue Type: Wish
Components: connect, core, tools
Reporter: Greg Harris
Assignee: Greg Harris
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 add an alternative to the Exit class, and migrate the existing usages to the replacement, before finally removing the legacy Exit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)