-
Notifications
You must be signed in to change notification settings - Fork 86
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
getRedeliveryCount always return 0 #296
Comments
@franck-mahieu Which subscription type did you use? |
Hi. I seem to have this issue as well. I have several messages in the backlog that I know have been processed by a consumer based on the service logs. When I inspect the message, there is no redeliveryCount property set which is causing my consumer to go into an infinite loop reprocessing. I have the @izumo27 and help appreciated :) |
@fabianwikstrom Could you explain what 'inspect the message' means? I would like to see the consumer code. |
Hi @izumo27 . We figured it out. Turns out that we have Thank you for the quick response! |
Hello,
Is there a way to make
message.getRedeliveryCount()
return the number of time a message has been redelivered?I hope it's not a problem between the chair and the keyboard, but in my case, the function always returns 0.
I tried to let the default parameters on
subscribe
, but it doesn't change anything.There is no disconnection of the client between each redelivery.
The message is well nack each time.
i use
pulsar-client
v1.8 andkezhenxu94/pulsar
pulsar container (pulsar 2.10.0).The text was updated successfully, but these errors were encountered: