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

Kafka connect REST API times out when trying to create a connector

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: KafkaConnect
    • Labels:
      None
    • Environment:

      Description

      REST API for some resources results in a timeout and there is no exception in the logs. 

      Summary of what was done so far:

      • Kafka connect docker image running as a ECS service with 2 tasks 
        • Service starts up and creates the 3 topics as expected.
        • There are a few warnings during start up but no errors - logs attached
      • REST API 
        • Root resource / returns the connect version.
        • GET call to /connectors returns a empty list as expected.
        • wrong resource e.g. /connectors1 returns a 404 
        • GET call with a wrong id results in a timeout e,g, /connectors/abc where abc does not exist
        • POST call to create a connector config results in timeout
        • POST call to create a connector with some wrong data returns a 400 e.g. providing different values for attribute "name" in top level vs config entry

       

        Attachments

        1. Startup-log.txt
          6 kB
          Kedar Shenoy
        2. post-s3.png
          45 kB
          Kedar Shenoy
        3. get-wrong-connector-name.png
          42 kB
          Kedar Shenoy
        4. get call1.jpg
          83 kB
          Kedar Shenoy
        5. environment-variables.png
          53 kB
          Kedar Shenoy
        6. 404.txt
          4 kB
          Kedar Shenoy

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              keshenoy Kedar Shenoy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: