You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Xu Mingmin (JIRA)" <ji...@apache.org> on 2017/02/14 22:29:41 UTC

[jira] [Issue Comment Deleted] (STORM-2357) add At-Most-Once guarantee in KafkaSpout

     [ https://issues.apache.org/jira/browse/STORM-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xu Mingmin updated STORM-2357:
------------------------------
    Comment: was deleted

(was: agree, preparing a patch to overwrite both case1 and case3 with this solution:

* 1. autocommit=true + ack=0
2. autocommit=true + ack>0 
* 3. autocommit=fale + ack=0 
4. autocommit=false + ack>0


)

> add At-Most-Once guarantee in KafkaSpout
> ----------------------------------------
>
>                 Key: STORM-2357
>                 URL: https://issues.apache.org/jira/browse/STORM-2357
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-kafka-client
>            Reporter: Xu Mingmin
>            Assignee: Xu Mingmin
>
> KafkaSpout cannot guarantee exactly at-most-once semantic, as it commits offset periodically, and KafkaSpout.close() is not guarantee to call when a crash happens. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)