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

Global thread restore blocks KafkaStreams#start()

    XMLWordPrintableJSON

Details

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

    Description

      KafkaStreams#start() is documented to be non-blocking and should return immediately. However, if global stores are used, `start()` blocks until all global stores are restored.

      We should change this and start all threads at the same time while all StreamThread would to go `wait()` state on startup immediately, and only resume after global thread restore finishes and `wakeup()` all StreamThreads. 

      Attachments

        Issue Links

          Activity

            People

              Yohan123 Richard Yu
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: