Kafka
  1. Kafka
  2. KAFKA-610

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • 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.

        Activity

        Jay Kreps created issue -

          People

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

            Dates

            • Created:
              Updated:

              Development