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

Shixiong Zhu commented on SPARK-18272:
--------------------------------------

KafkaSourceStressSuite covers this case. However, I agree we should add a 
separated test for this.

> Test topic addition for subscribePattern on Kafka DStream and Structured 
> Stream
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-18272
>                 URL: https://issues.apache.org/jira/browse/SPARK-18272
>             Project: Spark
>          Issue Type: Bug
>          Components: DStreams, Structured Streaming
>            Reporter: Cody Koeninger
>
> We've had reports of the following sequence
> - create subscribePattern stream that doesn't match any existing topics at 
> the time stream starts
> - add a topic that matches pattern
> - expect that messages from that topic show up, but they don't
> We don't seem to actually have tests that cover this case, so we should add 
> them



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to