Uploaded image for project: 'Apache Gobblin'
  1. Apache Gobblin
  2. GOBBLIN-966

Check if no partitions have been processed by KafkaExtractor in close() method to avoid ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.15.0
    • 0.15.0
    • gobblin-kafka
    • None

    Description

      When no partitions are processed by KafkaExtractor, the currentPartitionIndex remains at -1. Calling the KafkaExtractorStatsTracker#updateStatisticsForCurrentPartition() method, with a partition index of -1 causes ArrayIndexOutofBoundsException.

      Attachments

        Issue Links

          Activity

            People

              shirshanka Shirshanka Das
              sv2000 Sudarshan Vasudevan
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 50m
                  50m