David Hay created KAFKA-2137: -------------------------------- Summary: New Kafka Producer not fully asynchronous Key: KAFKA-2137 URL: https://issues.apache.org/jira/browse/KAFKA-2137 Project: Kafka Issue Type: Improvement Reporter: David Hay
The new Producer client attempts to be fully asynchronous. However, it sill has the potential to block at the start of the {{send}} method when it asks for the metadata for the topic. ({{waitOnMetadata(record.topic(), this.metadataFetchTimeoutMs)}}) There is a timeout (60 seconds, by default), but it would be nice if this lookup was performed in the background thread as well. This way producers could fire and forget without any potential to block the sending thread. -- This message was sent by Atlassian JIRA (v6.3.4#6332)