[
https://issues.apache.org/jira/browse/KAFKA-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ewen Cheslack-Postava resolved KAFKA-2137.
------------------------------------------
Resolution: Duplicate
This is the same issue as KAFKA-1835, which has a patch but might need
additional review and follow up.
> 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)