GitHub user cgeffect edited a discussion: rocketmq5.0.1客户端可以连接4.x的注册中心吗?
在执行 rocketmq::ProducerBuilder::build()代码时, 报了下面的日志信息 rocketmq5/build/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:292 [2024/04/26-14:52:29.196 +08:00] [rocketmq_logger] [---D---] [thread 16766] [Outbound] /apache.rocketmq.v2.MessagingService/Telemetry: Buffer: 123bytes rocketmq5/build/rocketmq-clients/cpp/source/client/LogInterceptor.cpp:63 [2024/04/26-14:52:29.205 +08:00] [rocketmq_logger] [---D---] [thread 17671] [Inbound]Response metadata of /apache.rocketmq.v2.MessagingService/Telemetry is empty rocketmq5/build/rocketmq-clients/cpp/source/client/LogInterceptor.cpp:79 [2024/04/26-14:52:29.206 +08:00] [rocketmq_logger] [---D---] [thread 17671] OnWriteDone: false rocketmq5/build/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:67 [2024/04/26-14:52:29.206 +08:00] [rocketmq_logger] [---W---] [thread 17671] Failed to write telemetry command settings { client_type: PRODUCER access_point { scheme: IPv4 addresses { host: "xxx.xx.xx.xx" port: 8888 } } request_timeout { seconds: 3 } publishing { topics { name: "xxxx" } max_body_size: 4194304 } user_agent { language: CPP version: "5.0.0" platform: "Linux 64-bit" hostname: "xxxxxx" } } to ipv4:xxx.xx.xx.xx:8888 rocketmq5/build/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:77 [2024/04/26-14:52:29.206 +08:00] [rocketmq_logger] [---I---] [thread 17671] ipv4:xxx.xx.xx.xx:8888#fireClose rocketmq5/build/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:297 [2024/04/26-14:52:29.206 +08:00] [rocketmq_logger] [---D---] [thread 17671] ipv4:xxx.xx.xx.xx:8888#OnDone, status.ok=false rocketmq5/build/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:329 [2024/04/26-14:52:29.206 +08:00] [rocketmq_logger] [---W---] [thread 17671] ipv4:xxx.xx.xx.xx:8888#OnDone, status.error_code=14, status.error_message=failed to connect to all addresses, status.error_details= rocketmq5/build/rocketmq-clients/cpp/source/client/TelemetryBidiReactor.cpp:331 然后程序就一直卡主, 每隔一段时间打印一次下面的日志 [2024/04/26-15:09:50.091 +08:00] [rocketmq_logger] [---I---] [thread 17632] Execute task: heartbeat-task. Use-count: 2 rocketmq5/build/rocketmq-clients/cpp/source/scheduler/SchedulerImpl.cpp:165 ------------------------------------------------------------------------------------------------------------------------------------ 客户端CPP_V4_6_0 可以连接 5.x云消息注册中心, 但是CPP_V5_1_3 版本不能连接 4.x的注册中心, 是这样吗? GitHub link: https://github.com/apache/rocketmq-clients/discussions/733 ---- This is an automatically sent email for dev@rocketmq.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org