macdreaming opened a new issue, #5207:
URL: https://github.com/apache/rocketmq/issues/5207

   The Rocketmq5.0 code is used to test the delay message. The 
setDeliverTimeMs() of the setting parameter Message is invalid. The test uses 
the delay message test case of version 5.0. The setting delay is 10 seconds, 
but it does not take effect.  I want to know what caused it! The following is 
my test log:
   
   
![image](https://user-images.githubusercontent.com/8703425/192728742-8c8f9954-1d82-445e-b408-ba8460e25b2c.png)
   
   **Producer log output is as follows:**
   2022-09-28T16:19:25.502  SendResult [sendStatus=SEND_OK, 
msgId=7F000001D10818B4AAC28E8C64AE0000, 
offsetMsgId=AC14E00100002A9F00000000000BB9B0, messageQueue=MessageQueue 
[topic=TimerTopic, brokerName=LAPTOP-0DS6DCA6, queueId=0], queueOffset=49]
   
   **Consumer log output is as follows:**
   2022-09-28T16:19:25.504 MessageExt [brokerName=LAPTOP-0DS6DCA6, queueId=0, 
storeSize=232, queueOffset=49, sysFlag=0, bornTimestamp=1664353165488, 
bornHost=/172.20.224.1:53118, storeTimestamp=1664353165491, 
storeHost=/172.20.224.1:10911, msgId=AC14E00100002A9F00000000000BB9B0, 
commitLogOffset=768432, bodyCRC=1817466311, reconsumeTimes=0, 
preparedTransactionOffset=0, toString()=Message{topic='TimerTopic', flag=0, 
properties={MIN_OFFSET=0, MAX_OFFSET=50, CONSUME_START_TIME=1664353165495, 
TIMER_DELIVER_MS=1664353173619, UNIQ_KEY=7F000001D10818B4AAC28E8C64AE0000, 
CLUSTER=DefaultCluster, WAIT=true}, body=[72, 101, 108, 108, 111, 32, 115, 99, 
104, 101, 100, 117, 108, 101, 100, 32, 109, 101, 115, 115, 97, 103, 101, 32, 
48], transactionId='null'}]
   Receive message[msgId=7F000001D10818B4AAC28E8C64AE0000 16  ms later]
   
   Consumption time and delay time are inconsistent:
   CONSUME_START_TIME=1664353165495
   TIMER_DELIVER_MS=1664353173619
   
   
   
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to