Janardhana Gopalachar created KAFKA-17088:
---------------------------------------------

             Summary: REQUEST_TIMED_OUT occurs intermittently in the kafka 
Producer client 
                 Key: KAFKA-17088
                 URL: https://issues.apache.org/jira/browse/KAFKA-17088
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 3.5.1
            Reporter: Janardhana Gopalachar


Hi 

We observe that producer receives a request timeout ( intermittently) when 
trying to send message to kafka broker. Below is the properties set for kafka 
producer. 

producerProps.put("acks", "all");

producerProps.put("linger.ms", 0);

producerProps.put("max.block.ms", 5000);

producerProps.put("metadata.max.idle.ms", 5000); 
producerProps.put("delivery.timeout.ms", 10000); 
producerProps.put("request.timeout.ms", 1000);

producerProps.put("key.serializer", BYTE_SERIALIZER);

producerProps.put("value.serializer", BYTE_SERIALIZER);

 

 

we receive below message intermittently. We need to know the reaon for this 
timeout.

_[kafka-producer-network-thread | producer-1] 
o.a.k.c.u.LogContext$LocationAwareKafkaLogger:434 writeLog [Producer 
clientId=producer-1] Got error produce response with correlation id 231972 on 
topic-partition {*}health_check_topic_msg2-0{*}, retrying (2147483646 attempts 
left). Error: REQUEST_TIMED_OUT. Error Message: Disconnected from node 1 due to 
timeout_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to