Yelijah commented on issue #818: URL: https://github.com/apache/rocketmq-clients/issues/818#issuecomment-2311440872
I add some breakpoint and logs in java client. And find some problems: <img width="1432" alt="image" src="https://github.com/user-attachments/assets/62b3c6ff-7347-43b5-814a-92381b077f8f"> ``` 2024/08/26 23:16:52 rocketmq-queue-async-rpc-3-worker-3 INFO [basic] onTopicRouteDataFetched routeEndpoints:[ipv4:192.168.101.128:18181, ipv4:192.168.101.219:18181] existRouteEndpoints:[] 2024/08/26 23:16:52 rocketmq-queue-async-rpc-3-worker-3 INFO [basic] getClientSession endpoints=ipv4:192.168.101.128:18181 2024/08/26 23:16:52 rocketmq-queue-async-rpc-3-worker-3 INFO [basic] getClientSession endpoints=ipv4:192.168.101.219:18181 ``` broker's endpoints got by ClientManager#queryRoute are two dependent address, not like "ipv4:192.168.101.128:18181;ipv4:192.168.101.219:18181". <img width="1260" alt="image" src="https://github.com/user-attachments/assets/a46250b5-fb89-4c17-a4a3-4a5a3c6f5150"> Then ClientImpl#getClientSession will try to connect to every endpoint adress. if one of the two proxy(broker) is crahsed, the client connected error and shutdown! By the way, when proxy nodes are in cluster mode(dependant with broker) , broker's endpoint got by ClientManager#queryRoute is just one union adress like "ipv4:192.168.101.128:18181;ipv4:192.168.101.219:18181" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
