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

Log warnings when client is disconnected from bootstrap brokers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0.0
    • 0.10.0.0
    • clients
    • None

    Description

      If no broker from bootstrap.servers is available consumer retries indefinitely with debug log message :

      DEBUG 17:16:13 Give up sending metadata request since no node is available
      DEBUG 17:16:13 Initialize connection to node -1 for sending metadata request
      DEBUG 17:16:13 Initiating connection to node -1 at localhost:9091.

      At least, an ERROR message should be log after a number of retries.
      In addition, maybe the consumer should fail in a such case ? This behavior could be set by a configuration property ?

      Attachments

        Issue Links

          Activity

            People

              hachikuji Jason Gustafson
              fhussonnois Florian Hussonnois
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: