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

Kafka Connect fails to create connector if single-broker Kafka cluster is configured for offsets.topic.replication.factor=3

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: KafkaConnect
    • Labels:
      None

      Description

      If I mis-configure my single Kafka broker with `offsets.topic.replication.factor=3` (the default), Kafka Connect will start up absolutely fine (Kafka Connect started in the log file, `/connectors` endpoint returns HTTP 200). But if I try to create a connector, it (eventually) returns

      {"error_code":500,"message":"Request timed out"}

      There's no error in the Kafka Connect worker log at INFO level. More details: https://rmoff.net/2019/11/29/kafka-connect-request-timed-out/

      This could be improved. Either at startup ensure that the Kafka consumer offsets topic is available and not startup if it's not, or at least log why the connector failed to be created.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rmoff Robin Moffatt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: