Description
Let's say we have a topic with 2 durable subscribers:
- we send 10000 messages to the topic.
- First subscriber receives all messages, and acknowledges every second of them(0th, 2nd, 4th and so on)
- Second subscriber doesn't acknowledge anything
- we restart the broker
- first subscriber connects to the broker and starts receiving messages
- at first it receives correct messages(1st, 3rd, 5th and so on), but at some point it starts receiving all messages(400th, 401st, 402nd and so on).
See a test in the attachment