You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "mawen12 (via GitHub)" <gi...@apache.org> on 2024/10/14 11:07:01 UTC
[I] [Bug] Variables mismatch annotation [rocketmq]
mawen12 opened a new issue, #8820:
URL: https://github.com/apache/rocketmq/issues/8820
### 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
Not runtime.
### RocketMQ version
branch: develop
### JDK Version
_No response_
### Describe the Bug
The class `ResetOffsetRequestHeader` set wrong `@RocketMQResource` value in fields `topic`, `group`.
``` java
public class ResetOffsetRequestHeader extends TopicQueueRequestHeader {
@CFNotNull
@RocketMQResource(ResourceType.GROUP) // annotation value mismatch topic
private String topic;
@CFNotNull
@RocketMQResource(ResourceType.TOPIC) // annotation value mismatch group
private String group;
...
}
```
### Steps to Reproduce
In `org.apache.rocketmq.remoting.protocol.header.ResetOffsetRequestHeader` source file.
### What Did You Expect to See?
Use correct annotion value in variables.
### What Did You See Instead?
Use correct annotion value in variables.
### 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] Variables mismatch annotation [rocketmq]
Posted by "fuyou001 (via GitHub)" <gi...@apache.org>.
fuyou001 closed issue #8820: [Bug] Variables mismatch annotation
URL: https://github.com/apache/rocketmq/issues/8820
--
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