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

Kafka spout should consume from latest when zk committed offset bigger than latest offset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.9.6
    • 1.1.0
    • storm-kafka

    Description

      Kafka spout should consume from latest when ZK offset bigger than latest offset[ an TopicOffsetOutOfRangeException thrown out ], especially when Kafka topic change it's leader and some data lost, if we consume from earliest offset, much meaningless duplicate records will be re-consumed. So, we should consume from latest offset instead.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              danny0405 Danny Chen
              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 - 2h
                  2h