You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "jevonsnotes (via GitHub)" <gi...@apache.org> on 2024/07/10 11:26:44 UTC

[I] 控制台发起重新消费报错 [rocketmq-dashboard]

jevonsnotes opened a new issue, #220:
URL: https://github.com/apache/rocketmq-dashboard/issues/220

   The issue tracker is **ONLY** used for bug report and feature request. 
   
   Any question or RocketMQ proposal please use our [mailing lists](http://rocketmq.apache.org/about/contact/).
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   我修改了源码,将proxy地址作为addr传入了以下方法,请求报错不支持309类型的请求
   ```
       public ConsumeMessageDirectlyResult consumeMessageDirectly(final String addr,
           String consumerGroup,
           String clientId,
           String topic,
           String msgId,
           final long timeoutMillis) throws RemotingException, MQClientException, InterruptedException {
           ConsumeMessageDirectlyResultRequestHeader requestHeader = new ConsumeMessageDirectlyResultRequestHeader();
           requestHeader.setTopic(topic);
           requestHeader.setConsumerGroup(consumerGroup);
           requestHeader.setClientId(clientId);
           requestHeader.setMsgId(msgId);
   
           RemotingCommand request = RemotingCommand.createRequestCommand(RequestCode.CONSUME_MESSAGE_DIRECTLY, requestHeader);
   
           RemotingCommand response = this.remotingClient.invokeSync(MixAll.brokerVIPChannel(this.clientConfig.isVipChannelEnabled(), addr),
               request, timeoutMillis);
           assert response != null;
           switch (response.getCode()) {
               case ResponseCode.SUCCESS: {
                   byte[] body = response.getBody();
                   if (body != null) {
                       ConsumeMessageDirectlyResult info = ConsumeMessageDirectlyResult.decode(body, ConsumeMessageDirectlyResult.class);
                       return info;
                   }
               }
               default:
                   break;
           }
   
           throw new MQClientException(response.getCode(), response.getRemark());
       }
   
   ```
   - What did you expect to see?
   能够正常消费
   - What did you see instead?
   目前无法从控制台触发重新消费
   2. Please tell us about your environment:
   rocktmq 5.2.0
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
   2. Provide any additional detail on your proposed use case for this feature.
   
   2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
   
   4. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:
   
   - [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1 description here, 
   - [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2 description here,
   - ...


-- 
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] 控制台发起重新消费报错 [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #220:
URL: https://github.com/apache/rocketmq-dashboard/issues/220#issuecomment-5064854435

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
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] 控制台发起重新消费报错 [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #220: 控制台发起重新消费报错
URL: https://github.com/apache/rocketmq-dashboard/issues/220


-- 
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