You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Yuzhao Chen (JIRA)" <ji...@apache.org> on 2017/01/04 03:08:58 UTC
[jira] [Created] (STORM-2270) Kafka spout should consume from
latest when zk committed offset bigger than latest offset
Yuzhao Chen created STORM-2270:
----------------------------------
Summary: Kafka spout should consume from latest when zk committed offset bigger than latest offset
Key: STORM-2270
URL: https://issues.apache.org/jira/browse/STORM-2270
Project: Apache Storm
Issue Type: Bug
Components: storm-kafka
Affects Versions: 1.0.0, 0.9.6
Reporter: Yuzhao Chen
Fix For: 1.0.1
Kafka spout should consume from latest when ZK offset bigger than latest offset[ an TopicOffsetOutOfRangeException thrown out ], especially when Kafka topic change it's leader and some data lost, if we consume from earliest offset, much meaningless duplicate records will be re-consumed. So, we should consume from latest offset instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)