Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
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
- is related to
-
KAFKA-7198 Enhance KafkaStreams start method javadoc
- Resolved
- relates to
-
KAFKA-10317 Global thread should honor shutdown signal during bootstrapping
- Open
- links to