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

connect.timeout.ms seems to do the wrong thing in the producer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This setting used to control the socket connection timeout. This is also what the documentation says:
      "the maximum time spent by kafka.producer.SyncProducer trying to connect to the kafka broker. Once it elapses, the producer throws an ERROR and stops."

      But it doesn't look to me that this parameter is being used at all. The only thing we do with it is check in a catch statement if that much time has ellapsed and then throw an error. Since we haven't set the connection timeout this is silly.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jkreps Jay Kreps
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: