You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "majialoong (via GitHub)" <gi...@apache.org> on 2026/03/21 15:57:52 UTC
[I] [Bug] Fix wrong option value for namesrvAddr parsing in timer benchmark examples [rocketmq]
majialoong opened a new issue, #10191:
URL: https://github.com/apache/rocketmq/issues/10191
### Before Creating the Bug Report
- [x] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq/discussions).
- [x] I have searched the [GitHub Issues](https://github.com/apache/rocketmq/issues) and [GitHub Discussions](https://github.com/apache/rocketmq/discussions) of this repository and believe that this is not a duplicate.
- [x] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
### Runtime platform environment
All
### RocketMQ version
develop
### JDK Version
All
### Describe the Bug
In `TimerProducer` and `TimerConsumer`, the `namesrvAddr` is incorrectly parsed by reading option 't' (topic) instead of 'n' (namesrvAddr).
### Steps to Reproduce
Using -n to specify namesrvAddr, but it resolves to Topic.
<img width="1255" height="47" alt="Image" src="https://github.com/user-attachments/assets/01779cba-dc71-4804-bd21-1d2177d2ae87" />
### What Did You Expect to See?
The `namesrvAddr` should be parsed from the `-n` option value.
### What Did You See Instead?
The `namesrvAddr` was incorrectly set to the `-t` option value.
### Additional Context
_No response_
--
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] [Bug] Fix wrong option value for namesrvAddr parsing in timer benchmark examples [rocketmq]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #10191: [Bug] Fix wrong option value for namesrvAddr parsing in timer benchmark examples
URL: https://github.com/apache/rocketmq/issues/10191
--
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