Details
-
New Feature
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently NetworkClient does not have a timeout setting for requests. So if no response is received for a request due to reasons such as broker is down, the request will never be completed.
Request timeout will also be used as implicit timeout for some methods such as KafkaProducer.flush() and kafkaProducer.close().
KIP-19 is created for this public interface change.
https://cwiki.apache.org/confluence/display/KAFKA/KIP-19+-+Add+a+request+timeout+to+NetworkClient
Attachments
Attachments
Issue Links
- duplicates
-
KAFKA-1788 producer record can stay in RecordAccumulator forever if leader is no available
- Resolved
-
KAFKA-1835 Kafka new producer needs options to make blocking behavior explicit
- Resolved
- links to