[ https://issues.apache.org/jira/browse/SPARK-8833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614670#comment-14614670 ]
Sean Owen commented on SPARK-8833: ---------------------------------- No, you actually pass the offsets you want to begin consuming at. Are you looking at {{createDirectStream}}? it's {{fromOffsets}}. > Kafka Direct API support offset in zookeeper > -------------------------------------------- > > Key: SPARK-8833 > URL: https://issues.apache.org/jira/browse/SPARK-8833 > Project: Spark > Issue Type: Bug > Components: Streaming > Affects Versions: 1.4.0 > Reporter: guowei > > Kafka Direct API only support consume the topic from latest or earliest. > but user usually need to consume message from last offset when restart > stream app . -- 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