[ 
https://issues.apache.org/jira/browse/KAFKA-7380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16731745#comment-16731745
 ] 

ASF GitHub Bot commented on KAFKA-7380:
---------------------------------------

ConcurrencyPractitioner commented on pull request #5879: [KAFKA-7380] Global 
thread restore blocks KafkaStreams#start()
URL: https://github.com/apache/kafka/pull/5879
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Global thread restore blocks KafkaStreams#start()
> -------------------------------------------------
>
>                 Key: KAFKA-7380
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7380
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Matthias J. Sax
>            Assignee: Richard Yu
>            Priority: Minor
>
> 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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to