Skip to content

Kafka producers experience frequent connection timeouts and message sending failures under high loads #754

Open
@CCTV-six

Description

@CCTV-six

CurrentBehavior

Kafka producers have experienced frequent connection timeouts and message sending failures under high loads. Producers occasionally throw org.apache.kafka.common.errors when calling the send() method TimeoutException
And I saw the following error message in the log:
[ERROR] KafkaProducer: Exception while sending a message:
org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node to become available.
at org.apache.kafka.clients.producer.internals.Sender.sendProducerData(Sender.java:435)
at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:804)
at org.apache.kafka.clients.producer.KafkaProducer.send(KafkaProducer.java:748)

ExpectedBehavior

Producers should be able to maintain stable connections with Kafka clusters, and messages should be successfully sent even under high loads and network fluctuations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions