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

Add option to terminate application when StreamThread(s) die

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.4.0
    • None
    • streams

    Description

      Currently, if a StreamThread dies due to an unexpected exception, the Streams application continues running. Even if all StreamThread(s) die, the application will continue running, but will be in an ERROR state. 

      Many users want or expect the application to terminate in the event of a fatal exception that kills one or more StreamThread(s). Currently, this requires extra work from the developer to register an uncaught exception handler on the KafkaStreams object and trigger a shutdown as needed.

      It would be useful to provide a configurable option for the Streams application to have it automatically terminate with an exception if one or more StreamThread(s) die.

       

       

      Attachments

        Issue Links

          Activity

            People

              wcarlson5 Walker Carlson
              mikebin Michael Bingham
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: