Erik created KAFKA-2192: --------------------------- Summary: Async producer is not async when not connected Key: KAFKA-2192 URL: https://issues.apache.org/jira/browse/KAFKA-2192 Project: Kafka Issue Type: Bug Components: producer Affects Versions: 0.8.1.1, 0.8.1.2 Reporter: Erik Assignee: Jun Rao
The new producer is not fully asynchronous. For instance, if the producer isn't yet connected to a Kafka server, the send() will stall until connected or a timeout. This is due to synchronously requesting metadata. Ideally, the send() function should always return immediately and any timeouts or errors communicated via the returned Future or the Callback. -- This message was sent by Atlassian JIRA (v6.3.4#6332)