Replies: 1 comment
-
Not likely, client
Are you talking about exactly-once message delivery? Normally, we don't need it. The best practice would be implement idempotent message process at consumer side. If you are talking about minimizing message duplication, it's another story. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My test steps:
(1) Start the producer and produce 50 messages
(2) Start consumers and realize slow consumption with sleep
(3) Ctrl+c aborts the pulsar process
(4) *************************** Because the Consumer has a receiving queue, consumption has not been stopped because of the destruction of the pulsar process. Every time, it is successfully ACKed (is the ACK status information saved locally?)
After restarting the Pulsar and consumers, they will continue to consume at the last location. In this way, repeated consumption occurs,
How to avoid it? thank.
Beta Was this translation helpful? Give feedback.
All reactions