Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2787

storm-kafka-client KafkaSpout should set 'initialized' flag independently of processing guarantees

    XMLWordPrintableJSON

Details

    Description

      Currently the method

      public void onPartitionsRevoked(Collection<TopicPartition> partitions) {
      

      has the following condition

      if (isAtLeastOnceProcessing() && initialized) {
                      initialized = false;
                      ...
      }
      

      initialized should be set to false independently of the processing guarantee

      Attachments

        Issue Links

          Activity

            People

              hmclouro Hugo Da Cruz Louro
              hmclouro Hugo Da Cruz Louro
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h