Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

retries#

Sumit Rawal answered on May 31, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


retries#

0

The retries parameter sets the number of times a producer retries sending a message before giving up and declaring a failure to the client. There are two kinds of failures a producer can encounter.

The first are failures that can’t be retried, such as “message too large” errors.

The second are the failures which can be retried (e.g. write failure) because of the absence of a partition leader. These failures are automatically retried by the producer and the application logic should not handle them. Rather, the application should only handle the case when retries for transient failures have been exhausted.

Another setting retry.backoff.ms is of interest here, which denotes the milliseconds the producer waits before re-attempting a failed send. Generally, the number of retries and the wait between the retries should be greater than the time it takes for a broker to recover from a crash, otherwise the producer will declare a failure too soon. 

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Tags: whatever
Link to this answer
Share Copy Link
Contributed on May 31 2023
Sumit Rawal
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.