You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/06/28 05:50:19 UTC

[GitHub] [rocketmq-client-cpp] lirong-Lee opened a new issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

lirong-Lee opened a new issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357


   I use the following code to add accessKey, secretKey, accessChannel
   
   ```
   auto rpcHook = std::make_shared<rocketmq::ClientRPCHook>rocketmq::SessionCredentials"LTAI4GGqhTNXtKsLtoKU8FMq",g6ZIggqIBplaSQTJK8kvx2HOn1X3HR", "ALIYUN"));
   m_Producer.setRPCHook(rpcHook);
   ```
   
   Connecting to Alibaba Cloud's rocketmq, the log reports an error: "No topic route info in name server for the topic:"
   
   
   With the same parameters, I can send data normally using version 2.2.0;
   Use code:
   ```
   m_Producer.setSessionCredentials("LTAI4GGqhTNXtKsLtoKU8FMq", "g6ZIggqIBplaSQTJK8kvx2HOn1X3HR", "ALIYUN");
   ```
   [rocektmq-dev.log](https://github.com/apache/rocketmq-client-cpp/files/6723746/rocektmq-dev.log)
   [rocketmq-client-cpp-2.2.0.log](https://github.com/apache/rocketmq-client-cpp/files/6723747/rocketmq-client-cpp-2.2.0.log)
   
   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-966067927


   @lirong-Lee As I say before, sdk do not process namespace for topic/group, you can see https://github.com/apache/rocketmq/blob/df4e98855d461d85e9c4ed43add1b12a58bca7b6/common/src/main/java/org/apache/rocketmq/common/protocol/NamespaceUtil.java#L71 


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-966032654


   @ifplusor Can you tell me about which module to do this thing. I refer to the java version and master version to change it to see


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor edited a comment on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor edited a comment on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-870374872


   @lirong-Lee I will fix this issue in the next few weeks.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-960471339


   @ifplusor Is there a chance to support this feature now


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-870374872


   @ifplusor I will fix this issue in the next few weeks.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor edited a comment on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor edited a comment on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-870374872


   @lirong-Lee I will fix this issue in the next few weeks.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-870374872


   @ifplusor I will fix this issue in the next few weeks.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-960473362


   > @ifplusor Is there a chance to support this feature now
   
   Unfortunately, I have been busy with work in the past few months and have no time to fix this issue.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-869393739


   @lirong-Lee The support of namespace is not ok, it causes this issue.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] vongosling commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
vongosling commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-869451244


   @ShannonDing ping


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] lirong-Lee commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
lirong-Lee commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-869397136


   @ifplusor 
   What is the specific problem? How do i use


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor edited a comment on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor edited a comment on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-966067927


   @lirong-Lee As I say before, sdk do not process namespace for topic/group, you can see https://github.com/apache/rocketmq/blob/df4e98855d461d85e9c4ed43add1b12a58bca7b6/common/src/main/java/org/apache/rocketmq/common/protocol/NamespaceUtil.java#L71 
   And you can do this work on [my repo](https://github.com/ifplusor/rocketmq-client-cpp/tree/re_dev), there are a lot of jobs about refactor that are not merged upstream.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-client-cpp] ifplusor commented on issue #357: re-dev Cannot use accessKey, secretKey, accessChannel

Posted by GitBox <gi...@apache.org>.
ifplusor commented on issue #357:
URL: https://github.com/apache/rocketmq-client-cpp/issues/357#issuecomment-966031069


   @lirong-Lee I'm so sorry, but could you do this by yourself and commit a PR? I will provide support as much as possible.


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org