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

[jira] [Resolved] (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 ]

Jungtaek Lim resolved STORM-2787.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Thanks [~hmclouro], also merged into 1.x branch.

> 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
>             Fix For: 2.0.0, 1.2.0
>
>          Time Spent: 1h
>  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)