gosonzhang commented on code in PR #11119:
URL: https://github.com/apache/inlong/pull/11119#discussion_r1796266553
##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/config/ProxyConfigManager.java:
##########
@@ -632,7 +632,7 @@ private ProxyConfigEntry
getProxyConfigEntry(DataProxyNodeResponse proxyCluster)
if (ObjectUtils.isNotEmpty(proxyCluster.getIsSwitch())) {
isSwitch = proxyCluster.getIsSwitch();
}
-
+ int maxPacketLength = nodeList.get(0).getMaxPacketLength() != null ?
nodeList.get(0).getMaxPacketLength() : -1;
Review Comment:
What to do if the 0th node in nodeList does not carry the value, but other
nodes do, or the values of each node are different?
--
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]