Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4306

Connect workers won't shut down if brokers are not available

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.2.0
    • connect
    • None

    Description

      If brokers are not available and we try to shut down connect workers, sink connectors will be stuck in a loop retrying to commit offsets:

      2016-10-17 09:39:14,907] INFO Marking the coordinator 192.168.1.9:9092 (id: 2147483647 rack: null) dead for group connect-dump-kafka-config1 (org.apache.kafka.clients.consumer.internals.AbstractCoordinator:600)
      [2016-10-17 09:39:14,907] ERROR Commit of WorkerSinkTask

      {id=dump-kafka-config1-0}

      offsets threw an unexpected exception: (org.apache.kafka.connect.runtime.WorkerSinkTask:194)
      org.apache.kafka.clients.consumer.RetriableCommitFailedException: Offset commit failed with a retriable exception. You should retry committing offsets.
      Caused by: org.apache.kafka.common.errors.GroupCoordinatorNotAvailableException

      We should probably limit the number of retries before doing "unclean" shutdown.

      Attachments

        Issue Links

          Activity

            People

              kkonstantine Konstantine Karantasis
              gwenshap Gwen Shapira
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: