Apache Kafka Complete Practice Exam 2025 – All-in-One Prep

Image Description

Question: 1 / 400

What configuration property controls the maximum number of retries when sending messages in Kafka?

message.max.retries

message.send.max.retries

The property that regulates the maximum number of retries for sending messages in Kafka is linked to the "max.in.flight.requests.per.connection" setting, but it also involves a key property that is explicitly designed for retries: "retries". In the context of sending messages, "message.send.max.retries" closely aligns with Kafka's conventions but it's not the official naming of the property.

In Kafka, the actual configuration property that governs the maximum number of retries when sending messages is specifically called "retries". This property enables a producer to specify how many times it should attempt to send a message if the previous attempt fails before considering the send operation as unsuccessful. The producer will retry sending messages for a specified number of attempts, which can help deal with transient failures in the network or broker.

The naming conventions across different choices further illustrate the need for precise terminology. While options like "message.max.retries" and "message.retries.limit" appear reasonable, they do not reflect the exact naming used within Kafka’s configuration properties based on the documented specifications. The selected answer, while not actually correct in terms of Kafka's official property nomenclature, seems plausible due to its structure. However, it highlights the importance of understanding and correctly identifying configuration properties in software like Kafka

Get further explanation with Examzify DeepDiveBeta

message.retries.limit

max.send.count

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy