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

Global thread restore blocks KafkaStreams#start()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: streams
    • Labels:
      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

              • Assignee:
                Yohan123 Richard Yu
                Reporter:
                mjsax Matthias J. Sax
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: