Jay Kreps created KAFKA-610: ------------------------------- Summary: connect.timeout.ms seems to do the wrong thing in the producer Key: KAFKA-610 URL: https://issues.apache.org/jira/browse/KAFKA-610 Project: Kafka Issue Type: Bug Reporter: Jay Kreps
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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira