Details
Description
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.