gosonzhang commented on code in PR #11213:
URL: https://github.com/apache/inlong/pull/11213#discussion_r1794432842


##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ConfigConstants.java:
##########
@@ -73,5 +73,6 @@ public class ConfigConstants {
 
     public static String HTTP = "http://";;
     public static String HTTPS = "https://";;
+    public static int MAX_MESSAGE_LENGTH = 500 * 1024;

Review Comment:
   Manager already supports configuring the maximum packet length 
maxPacketLength setting allowed by DataProxy cluster for each {groupId, 
streamId} [1]. 
   
   SDK needs to check the length of the reported message based on the 
maxPacketLength provided by Manager.
   
   1. https://github.com/apache/inlong/pull/11314



-- 
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