[ https://issues.apache.org/jira/browse/KAFKA-5037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16545477#comment-16545477 ]
Ted Yu commented on KAFKA-5037: ------------------------------- In KafkaStreams, I am adding the following method in order to detect state transition of StreamThread: {code} /** * An app can set a single {@link StreamThread.StateListener} so that the app is notified when state changes. * * @param listener a new StreamThread state listener * @throws IllegalStateException if this {@code KafkaStreams} instance is not in state {@link State#CREATED CREATED}. */ public void setStreamThreadStateListener(StreamThread.StateListener listener) { {code} Let me know whether a KIP is needed. > Infinite loop if all input topics are unknown at startup > -------------------------------------------------------- > > Key: KAFKA-5037 > URL: https://issues.apache.org/jira/browse/KAFKA-5037 > Project: Kafka > Issue Type: Bug > Components: streams > Affects Versions: 0.10.2.0 > Reporter: Matthias J. Sax > Priority: Major > Labels: newbie++, user-experience > Attachments: 5037.v2.txt, 5037.v4.txt > > > See discusion: https://github.com/apache/kafka/pull/2815 > We will need some rewrite on {{StreamPartitionsAssignor}} and to add much > more test for all kind of corner cases, including pattern subscriptions. -- This message was sent by Atlassian JIRA (v7.6.3#76005)