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

Streams no longer overrides the java default uncaught exception handler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 3.4.0
    • streams
    • None

    Description

      If a user used `Thread.setUncaughtExceptionHanlder()` to set the handler for all threads in the runtime streams would override that with its own handler. However since streams does not use the `Thread` handler anymore it will no longer do so. This can cause problems if the user does something like `System.exit(1)` in the handler. 

       

      If using the old handler in streams it will still work as it used to

      Attachments

        Issue Links

          Activity

            People

              wcarlson5 Walker Carlson
              wcarlson5 Walker Carlson
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: