You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Hugo Louro (JIRA)" <ji...@apache.org> on 2017/10/25 07:01:16 UTC

[jira] [Updated] (STORM-2787) storm-kafka-client KafkaSpout should set 'initialized' flag independently of processing guarantees

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

Hugo Louro updated STORM-2787:
------------------------------
    Summary: storm-kafka-client KafkaSpout should set 'initialized' flag independently of processing guarantees  (was: storm-kafka-client should set initialized flag independently of processing guarantees)

> storm-kafka-client KafkaSpout should set 'initialized' flag independently of processing guarantees
> --------------------------------------------------------------------------------------------------
>
>                 Key: STORM-2787
>                 URL: https://issues.apache.org/jira/browse/STORM-2787
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-kafka-client
>    Affects Versions: 2.0.0, 1.2.0
>            Reporter: Hugo Louro
>            Assignee: Hugo Louro
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently the method 
> {code:java}
> public void onPartitionsRevoked(Collection<TopicPartition> partitions) {
> {code}
> has the following condition
> {code:java}
> if (isAtLeastOnceProcessing() && initialized) {
>                 initialized = false;
>                 ...
> }
> {code}
> initialized should be set to false independently of the processing guarantee



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)