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 06:37:00 UTC

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

Hugo Louro created STORM-2787:
---------------------------------

             Summary: storm-kafka-client 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
            Priority: Critical


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)