-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs] Documentation about handling failure #91
Comments
@yordis just wondering what kind of failure do you have in mind?
I suppose you mean all the cases but I think if we break it down, we can produce a better doc! So my understanding:
One thing to keep in mind about the acking is that ack is sent after batch of messages are processed. Each GenStage consumer gets 5 tasks(as default value) and after all 5 are processed(with or without error) the last offset is going to be committed to the Kafka broker. |
@slashmili right, I was referring to the 3 cases you describe. Ideally, the documentation could showcase how to do Dead-Letter-Queues or a strategy to re-consume the message in case of the processor fails when you have to guarantee at-least-once successful processing where it is critical to make sure the message was processed. |
If we can validated my understandings, we can write them down in Handling failed messages section.
This is complicated subject. While we can show that on I think the first step is to create a PR to add a section to explain the failure scenarios and consequences. |
@slashmili yeah, I hear you, I think they are endless use cases on how we could do it, but there are also a few basic ways we could showcase since they are common enough, like DLQs after X failures. Ideally, what is the basic example of doing at least one-processing guarantee without losing any message? |
Hey there, in the Broadway's documentation says the following https://hexdocs.pm/broadway/Broadway.html#module-acknowledgements-and-failures
As well as
So I am wondering how this producer deals with the failure.
Is there an opportunity to document the topic?
The text was updated successfully, but these errors were encountered: