You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Richard Yu (JIRA)" <ji...@apache.org> on 2018/11/04 18:02:00 UTC

[jira] [Commented] (KAFKA-7380) Global thread restore blocks KafkaStreams#start()

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

Richard Yu commented on KAFKA-7380:
-----------------------------------

A PR has been created here:

[https://github.com/apache/kafka/pull/5879.]

Its still in progress though, so I probably need some time to work out the kinks.

Thanks for your patience.

> 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
>            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)