-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Possible Message Loss #58
Comments
I wouldn't characterize this as "message loss", since even if the particular message could be stuck, it would not be deleted until a consumer acknowledges it. So, reconnecting the consumer would unblock it. I'm also not convinced that the condition can actually happen. Based on the code there would need to be these conditions :
I'm not sure how if this can happen given that:
To conclude, we could trigger the re-delivery of the ignored message, though it would be good to understand under which circumstances that condition can happen. |
@sschepens has this happened again? |
Closing due to lack of activity. |
### Motivation - Add some test cases as follows: - TestConsumer_EventTime - TestNonPersistentTopic - TestConsumer_Flow - Fix consumer connection closed - Add `pprof` for debug project - Fix `flow` command logic
Expected behavior
Pulsar should never loose messages.
Actual behavior
It seems to me that now, when this condition returns false we have message loss.
Consumer receives a message and discards it, Broker considers it belongs to that Consumer, it will never redeliver it unless it disconnects.
Shouldn't Consumer ask for redelivery of the message instead of discarding it?
The text was updated successfully, but these errors were encountered: