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


##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/network/ClientMgr.java:
##########
@@ -911,10 +997,33 @@ private List<HostInfo> getRealHosts(List<HostInfo> 
hostList, int realSize) {
         return resultHosts;
     }
 
+    public NettyClient getClient(LoadBalance loadBalance, EncodeObject 
encodeObject) {

Review Comment:
   `loadBalance` is unnecessary, you can directly use member var `loadBalance`.



-- 
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-unsubscr...@inlong.apache.org

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

Reply via email to