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

Update Streams docs with details for UncaughtExceptionHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • documentation, streams
    • None

    Description

      We should update the docs to explain that calling KafkaStreams#close() within the UncaughtExceptionHandler-callback might result in a deadlock and one should always specify a timeout parameter for this case.

      As an alternative to avoid the deadlock, setting a flag in the handler and calling #close outside of the callback should also work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mjsax Matthias J. Sax
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: