apache / rocketmq-client-cpp

Apache RocketMQ cpp client
https://rocketmq.apache.org/
Apache License 2.0
370 stars 159 forks source link

Is rocketmq-client-cpp 2.0.0 support rocketmq5.x? #460

Open larryhq opened 1 year ago

larryhq commented 1 year ago

My rocketMQ install rocketmq5.x, when I used rocketmq-client-cpp-2.0.0, SDK throw error like this "No route info of this topic", My topic name is correct。

ifplusor commented 11 months ago

To use 5.0, please look at https://github.com/apache/rocketmq-clients

wedvefv commented 10 months ago

If rocker5.x is set up using proxy mode, clients can use the gRPC protocol for requests. However, in this case, the server needs to be configured with a gRPC port in conf/rmq-proxy.json, and the access_point should be written as [nameserverIp]:[GrpcPort], rather than nameserverIp:9876. If a non-gRPC client is used, I have tested that rocketmq5.1.4 can send and receive messages normally using rocketmq-client-cpp-2.2.0 (which uses non-gRPC protocol communication by default).