apache / rocketmq-client-go

Apache RocketMQ go client
https://rocketmq.apache.org/
Apache License 2.0
1.28k stars 409 forks source link

fix: ignore name server connection read timeout log #1117

Closed twz915 closed 7 months ago

twz915 commented 7 months ago

What is the purpose of the change

https://github.com/apache/rocketmq-client-go/blob/3f9c59fdf5d4cef0994939228f40886517d42d6f/internal/remote/remote_client.go#L177-L195

the error logs

2023-12-05T10:33:03+08:00 ERROR remote/remote_client.go:183 github.com/apache/rocketmq-client-go/v2/internal/remote.(*remotingClient).receiveResponse conn error, close connection {"underlayError": "read tcp 192.7.128.158:43358->192.183.1.196:9876: i/o timeout"}

when get route info from name server timeout, just ignore the error log

Brief changelog

ignore conn read timeout log