Broken subsequence of delayed messages
See original GitHub issueDescribe the bug Delayed messages to shared topic breaks subsequence of messages and delivered earlier than expected.
To Reproduce Steps to reproduce the behavior:
- Setup local standalone pulsar
- Send messages every 20ms with the same deliverAt timestamp 10000ms and with payload of millisecond when sending was started.
- Log received messages payload.
I start receiving all messages after 9 seconds and it I have in log:
9001ms
1ms
21ms
41ms
61ms
81ms
...
8981ms
(here should be 9001ms)
9021ms
9041ms
...
Expected behavior Two expectations:
- Most important I expect first message to be received is message ‘1ms’ and message ‘9001ms’ after ‘8981ms’.
- I expect start receiving messages after 10 seconds
Issue is reproduced in 2.8.0 and 2.9.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
[PIP-?] Optimization of massive delayed message scenarios
Delayed messages are a common scenario in the Message business system. For example, group-opening reminders in group buying activities, ...
Read more >UML 2 Tutorial - Sequence Diagram - Sparx Systems
In the following diagram, the first message is a synchronous message (denoted ... Break fragment models an alternative sequence of events that is...
Read more >Delayed Text Messages Problem: Why and How to Fix
Confirm the process by tapping on “Reset Settings”. text message delays. See if the problem of delayed messages continues. 4. Clear Cache Data...
Read more >2017 chevy malibu door lock problem - Belle Arti Brindisi
with inside switch I can unlock all Could a broken wire in the drivers door (a common problem from what I've been reading...
Read more >R Ffxi - unica e sensual
Final Fantasy XI R finally scrapped after numerous delays. ... Reply to the latest "tell" message player you recieved "tell" message from.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @zubchenok
I have already reproduced both problems, I will try to fix them ASAP.
Hi, @zubchenok Sorry for missing this issue. The second issue:
You can set
isDelayedDeliveryDeliverAtTimeStrict=true
to solve this problem.(broker version greater than or equals to 2.9.3)#16068 or setdelayedDeliveryTickTimeMillis=1
(broker version less than or equals to 2.9.3)