Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16420

Refactor utils.Exit call-sites to use thread-safe alternative

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • connect, core, tools
    • None

    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

          Activity

            People

              gharris1727 Greg Harris
              gharris1727 Greg Harris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: