You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/25 00:45:30 UTC

[GitHub] [pulsar] zubchenok opened a new issue, #14721: Broken subsequence of delayed messages

zubchenok opened a new issue, #14721:
URL: https://github.com/apache/pulsar/issues/14721

   **Describe the bug**
   Delayed messages to shared topic breaks subsequence of messages and delivered earlier than expected.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Setup local standalone pulsar 
   2. Send messages every 20ms with the same deliverAt timestamp *10000ms* and with payload of millisecond when sending was started.
   3. 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:
   1. Most important I expect first message to be received is message '1ms' and message '9001ms' after '8981ms'.
   2. I expect start receiving messages after 10 seconds
   
   Issue is reproduced in 2.8.0 and 2.9.1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] zubchenok commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
zubchenok commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1180445182

   @mattisonchao @sijie @merlimat how can we draw some attention to the problem?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1131012904

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1101026858

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] mattisonchao closed issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
mattisonchao closed issue #14721: Broken subsequence of delayed messages 
URL: https://github.com/apache/pulsar/issues/14721


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] zubchenok commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
zubchenok commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1132702676

   @mattisonchao how is it going?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] mattisonchao commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
mattisonchao commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1189154847

   Hi, @zubchenok 
   Sorry for missing this issue.
   The second issue:
   > I expect start receiving messages after 10 seconds
   
   You can set `isDelayedDeliveryDeliverAtTimeStrict=true` to solve this problem.(broker version greater than or equals to 2.9.3)#16068 or set `delayedDeliveryTickTimeMillis=1`(broker version less than or equals to 2.9.3)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] coderzc commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
coderzc commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1200743245

   It seems that delay messages should not be strictly guaranteed to be consumed in the order of delayed time. It is only consumed as early as possible.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] eolivelli commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1190098963

   I think that isDelayedDeliveryDeliverAtTimeStrict will help you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] mattisonchao commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
mattisonchao commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1189678939

   And I will try to push a new pull request to improve the first issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] coderzc commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
coderzc commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1200776551

   It seems that delayed messages should not be strictly guaranteed to be consumed in the order.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] zubchenok commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
zubchenok commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1101334681

   @mattisonchao do you have any update on this issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #14721: Broken subsequence of delayed messages

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #14721:
URL: https://github.com/apache/pulsar/issues/14721#issuecomment-1159892417

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org