Closed nigel0913 closed 2 months ago
启动时rocketmq_client_go.log日志内容:
2024-08-20T20:15:23.074+0800 ERROR v5@v5.1.1-rc1/client.go:434 failed to send heartbeat, code=UNRECOGNIZED_CLIENT_TYPE, status message=[cannot find client settings for this client], endpoints=scheme:DOMAIN_NAME addresses:{host:"rmq-cn-******.cn-shanghai.rmq.aliyuncs.com" port:8081}, requestId=[3c3f6e0a-4baf-4639-9577-******] {"client_id": "******"}
2024-08-20T20:15:23.075+0800 ERROR v5@v5.1.1-rc1/client.go:458 CODE: UNRECOGNIZED_CLIENT_TYPE, MESSAGE: cannot find client settings for this client {"client_id": "******"}
2024-08-20T20:15:23.075+0800 ERROR v5@v5.1.1-rc1/client.go:486 telemeter to rmq-cn-******.cn-shanghai.rmq.aliyuncs.com:8081 failed, err=EOF {"client_id": "******"}
一直重复这3行内容。
This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.
This issue was closed because it has been inactive for 3 days since being marked as stale.
Before Creating the Bug Report
[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.
[X] I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Programming Language of the Client
Go
Runtime Platform Environment
macOS Ventura 13.5
RocketMQ Version of the Client/Server
github.com/apache/rocketmq-clients/golang/v5 v5.1.1-rc1
Run or Compiler Version
go version go1.22.2 darwin/arm64
Describe the Bug
启动consumer时报错:CODE: UNRECOGNIZED_CLIENT_TYPE, MESSAGE: cannot find client settings for this client。 触发自己写的自动重启,然后重复报错(自动重启有1秒间隔)
Steps to Reproduce
没有复现手段,有时候重启进程就会报错,有时候正常
What Did You Expect to See?
能够正常启动然后消费消息
What Did You See Instead?
一旦发生报错,就会不断重复报错,无法正常消费。
Additional Context
使用阿里云的RocketMQ v5版本,外网模式。