You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Eppiehu (via GitHub)" <gi...@apache.org> on 2026/10/13 04:42:21 UTC
[I] [Doc] Incorrect end timestamp option for consumeMessage [rocketmq]
Eppiehu opened a new issue, #11398:
URL: https://github.com/apache/rocketmq/issues/11398
### Search before creation
- [x] I had searched in the [issues](https://github.com/apache/rocketmq/issues) and found no similar issues.
### Documentation Related
The `consumeMessage` option tables document `-d` as the end timestamp option in three files:
- `docs/en/CLITools.md`
- `docs/en/operation.md`
- `docs/cn/operation.md`
However, `ConsumeMessageCommand.buildCommandlineOptions` registers `-e` for the end timestamp and does not register `-d`.
Using the documented option, `consumeMessage -t TopicTest -d 1234567890000`, reports `Unrecognized option: -d` and exits with code 1.
Using `consumeMessage -t TopicTest -e 1234567890000 -h` displays help and exits with code 0.
The three documentation entries should use `-e` to match the implementation. I have prepared a documentation-only fix.
### Are you willing to submit PR?
- [x] Yes I am willing to submit a PR!
--
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@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Doc] Incorrect end timestamp option for consumeMessage [rocketmq]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #11398:
URL: https://github.com/apache/rocketmq/issues/11398#issuecomment-6138632799
## Evaluation
**Classification:** type/documentation
Thank you for the detailed report. You are correct — the three documentation files reference `-d` as the end timestamp option for `consumeMessage`, but the implementation in `ConsumeMessageCommand.buildCommandlineOptions` registers `-e` instead.
Since you have already prepared a documentation-only fix and are willing to submit a PR, please go ahead. A few notes:
1. Please update all three files (`docs/en/CLITools.md`, `docs/en/operation.md`, `docs/cn/operation.md`) in a single PR for consistency.
2. Verify that `-e` is the correct option by checking `ConsumeMessageCommand.java` in the current `develop` branch.
3. If there are any other `consumeMessage` option discrepancies in those docs, feel free to fix them in the same PR.
Looking forward to your PR!
--
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@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Doc] Incorrect end timestamp option for consumeMessage [rocketmq]
Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin closed issue #11398: [Doc] Incorrect end timestamp option for consumeMessage
URL: https://github.com/apache/rocketmq/issues/11398
--
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@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Doc] Incorrect end timestamp option for consumeMessage [rocketmq]
Posted by "Eppiehu (via GitHub)" <gi...@apache.org>.
Eppiehu commented on issue #11398:
URL: https://github.com/apache/rocketmq/issues/11398#issuecomment-6138852805
Thanks for the feedback! The fix has been submitted in #11399, covering all three documentation files. I verified that `-e` is the end timestamp option in the current `develop` branch.
--
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@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org