Ask Your Question
4

What is the scenario of two customers having non-blocking retry while consuming from a single kafka topic?

asked 2022-04-19 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-06-17 15:00:00 +0000

lalupa gravatar image

In the scenario of two customers having non-blocking retry while consuming from a single Kafka topic, both customers will receive and process messages from the topic independently. If one of the customers fails to process a message, it will retry consuming the message until it is successfully processed, without blocking the second customer. The second customer will continue to consume messages from the topic without interruption.

This non-blocking retry behavior can be achieved by setting the appropriate configuration parameters for the Kafka client, such as the maximum number of retries and the backoff interval between retries. If both customers are configured with these parameters, they can operate independently and efficiently without causing conflicts or blocking each other.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-04-19 11:00:00 +0000

Seen: 2 times

Last updated: Jun 17 '21