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 2021/12/30 02:31:58 UTC

[GitHub] [pulsar] xuesongxs opened a new issue #13567: The Producer deliverAfter‘s time should use the broker's time

xuesongxs opened a new issue #13567:
URL: https://github.com/apache/pulsar/issues/13567


   **Is your enhancement request related to a problem? Please describe.**
   deliverAfter uses the time of the producer's host, If the time of the producer's host is less than that of the broker's host, the messages after deliverAfter will be sent immediately, at the same time, the internal implementation of reconsumerLater also uses deliverAfter. In this way, the messages will be received immediately after reconsumerLater, and the delayTime of reconsumerLater will not take effect The reverse is also problematic.
   
   **Describe the solution you'd like**
   The Producer deliverAfter‘s time use the broker's time.
   
   


-- 
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 #13567: The Producer deliverAfter‘s time should use the broker's time

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


   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] liudezhi2098 commented on issue #13567: The Producer deliverAfter‘s time should use the broker's time

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


   This problem does exist at present. not uses the time of the broker's host because it is due to performance considerations. At present, the broker does not know which messages is delayed, and the MessageMetadata is not decoded when the message is produced to ensure maximum performance. we can add some signs to distinguish delayed messages and do some special processing,we can also keep the client machine time consistent with the broker's host time,need to discus.


-- 
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