[
https://issues.apache.org/jira/browse/SPARK-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15335200#comment-15335200
]
Jinxia Liu commented on SPARK-12177:
------------------------------------
Hi Cody,
I did some tests today using your connector, and bumped into the following
exception:
org.apache.kafka.clients.consumer.NoOffsetForPartitionException: Undefined
offset with no reset policy for partition: test-0
at
org.apache.kafka.clients.consumer.internals.Fetcher.resetOffset(Fetcher.java:291)
this is caused by setting the auto.offset.reset=none, and is triggered when
fetching data from a given topic for the first time.
Is this related to ticket https://issues.apache.org/jira/browse/KAFKA-3370?
quite strange that previous tests ran fine.
thanks for your time.
> Update KafkaDStreams to new Kafka 0.10 Consumer API
> ---------------------------------------------------
>
> Key: SPARK-12177
> URL: https://issues.apache.org/jira/browse/SPARK-12177
> Project: Spark
> Issue Type: Improvement
> Components: Streaming
> Affects Versions: 1.6.0
> Reporter: Nikita Tarasenko
> Labels: consumer, kafka
>
> Kafka 0.9 already released and it introduce new consumer API that not
> compatible with old one. So, I added new consumer api. I made separate
> classes in package org.apache.spark.streaming.kafka.v09 with changed API. I
> didn't remove old classes for more backward compatibility. User will not need
> to change his old spark applications when he uprgade to new Spark version.
> Please rewiew my changes
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]