XiaoZYang opened a new issue #379: Admin subcommand print messages when given 
value of argument beginTimestmamp is greater then now
URL: https://github.com/apache/rocketmq/issues/379
 
 
   ## BUG REPORT
   
   ### Problem Description
   When I run command `sh bin/mqadmin consumeMessage -t TopicTest -s 
2019-01-01#00:00:00:000` the last message from each queue is printed.
   - What did you do (The steps to reproduce)?
       1. start *namesrv* and *broker*
       2. run `sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producer` 
to publish messages to topic "TestTopic"
   - What did you expect to see?
   There is **no** message printed in the console.
   
   - What did you see instead?
   The last message of each *MessageQueue* of the *Topic* TestTopic is printed.
   
   2. Please tell us about your environment:
   - OS: OSX El Caption Version 10.11.6
   - Java version: 1.8.0_172
   - RocketMQ version: 4.2.0
   
   ### Fix Suggestion
   1. The `mqadmin` command should check values of option *beginTimestamp* and 
*endTimestamp* then report this error if it got invliad values and exit rather 
than processing as the valid. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to