You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/09/01 02:34:37 UTC

[GitHub] [inlong] pocozh commented on a diff in pull request #5595: [INLONG-5101][DataProxy] Optimize load balancing for DataProxy

pocozh commented on code in PR #5595:
URL: https://github.com/apache/inlong/pull/5595#discussion_r960167501


##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/network/Sender.java:
##########
@@ -726,4 +736,26 @@ public boolean isIdleClient(NettyClient client) {
         return true;
     }
 
+    private NettyClient getClient(LoadBalance loadBalance, EncodeObject encodeObject) {

Review Comment:
   Is it better to remove this into `ClientMgr`? Then,  methods such as `asyncSendMessage` can directly use previous signature, and no need to add additional parameter.



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org