Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-5375

KafkaIO reader should handle runtime exceptions kafka client

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.7.0
    • 2.7.0
    • io-java-kafka
    • None

    Description

      KafkaIO reader might stop reading from Kafka without any explicit error message if KafkaConsumer throws a runtime exception while polling for messages. One of the Dataflow customers encountered this issue (see user@ thread)]

      'consumerPollThread()' in KafkaIO deliberately avoided catching runtime exceptions. It shoud handle it.. stuff happens at runtime. 

      It should result in 'IOException' from start()/advance(). The runners will handle properly reporting and closing the readers. 

      Attachments

        Activity

          People

            rangadi Raghu Angadi
            rangadi Raghu Angadi
            Votes:
            1 Vote for this issue
            Watchers:
            5 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 50m
                1h 50m