Details
Description
I would like the ability to call close with a timeout on the Java Client's KafkaProducer.
Workaround
Currently, it is possible to ensure that close will return quickly by first doing a future.get(timeout) on the last future produced on each partition, but this means that the user has to define the partitions up front at the time of send and track the returned future's
Attachments
Attachments
Issue Links
- is duplicated by
-
KAFKA-1934 Add a shutdownNow() call to new producer
- Resolved