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)?
- start namesrv and broker
- 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.
- 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
- 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.
BUG REPORT
Problem Description
When I run command
sh bin/mqadmin consumeMessage -t TopicTest -s 2019-01-01#00:00:00:000the last message from each queue is printed.What did you do (The steps to reproduce)?
sh bin/tools.sh org.apache.rocketmq.example.quickstart.Producerto 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.
Fix Suggestion
mqadmincommand 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.