[ https://issues.apache.org/jira/browse/SPARK-6434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-6434. ------------------------------ Resolution: Duplicate Fix Version/s: (was: 1.3.1) I hear you, maybe there's no way to tell unfortunately. I hope there is. It's probably not unusual to create a topic, then start your app, then start data flowing. > [Streaming][Kafka] CreateDirectStream for empty topics > ------------------------------------------------------ > > Key: SPARK-6434 > URL: https://issues.apache.org/jira/browse/SPARK-6434 > Project: Spark > Issue Type: Bug > Components: Streaming > Affects Versions: 1.3.0 > Reporter: Cody Koeninger > Priority: Minor > > http://apache-spark-developers-list.1001551.n3.nabble.com/Exception-using-the-new-createDirectStream-util-method-td11118.html > Looks like kafka metadata apis don't return leaders for topics that don't > have messages yet. > Should either try to work around this, or document that topics need messages > before starting the stream. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org