用example里的simple producer连不上RocketMQ,什么原因?但是用rocketmq-clients/golang/v5是可以正常收发消息的,我的RocketMQ 是5.2.0版本的,是版本问题吗?
time="2024-07-04T18:53:28+08:00" level=info msg="change the route for clients"
time="2024-07-04T18:53:28+08:00" level=info msg="the topic route info changed" changeTo="{\"OrderTopicConf\":\"\",\"queueDatas\":[{\"brokerName\":\"broker-a\",\"readQueueNums\":16,\"writeQueueNums\":16,\"perm\":6,\"topicSynFlag\":0}],\"brokerDatas\":[{\"cluster\":\"DefaultCluster\",\"brokerName\":\"broker-a\",\"brokerAddrs\":{\"0\":\"192.168.80.4:10911\"}}]}" changedFrom="" topic=TestTopic
time="2024-07-04T18:53:32+08:00" level=warning msg="send heart beat to broker error" underlayError="request timeout"
time="2024-07-04T18:53:33+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62266->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
send message error: request timeout
time="2024-07-04T18:53:39+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62268->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
time="2024-07-04T18:53:45+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62274->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
send message error: request timeout
time="2024-07-04T18:53:51+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62285->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
send message error: request timeout
time="2024-07-04T18:53:57+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62287->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
time="2024-07-04T18:54:03+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62293->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
send message error: request timeout
time="2024-07-04T18:54:05+08:00" level=warning msg="send heart beat to broker error" underlayError="request timeout"
time="2024-07-04T18:54:09+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62297->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
send message error: request timeout
time="2024-07-04T18:54:15+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62305->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
time="2024-07-04T18:54:21+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62308->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
send message error: request timeout
time="2024-07-04T18:54:27+08:00" level=error msg="conn error, close connection" underlayError="read tcp 198.18.0.1:62314->192.168.80.4:10911: wsarecv: An existing connection was forcibly closed by the remote host."
send message error: request timeout
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
涵盖 RocketMQ、Kafka、RabbitMQ、MQTT、轻量消息队列(原MNS) 的消息队列产品体系,全系产品 Serverless 化。RocketMQ 一站式学习:https://rocketmq.io/