luchunliang commented on code in PR #11119:
URL: https://github.com/apache/inlong/pull/11119#discussion_r1766100877


##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/DefaultMessageSender.java:
##########
@@ -191,6 +195,10 @@ public String getSDKVersion() {
         return ConfigConstants.PROXY_SDK_VERSION;
     }
 
+    public void enableDataTruncation(boolean enableDataTruncation) {
+        this.enableDataTruncation = enableDataTruncation;

Review Comment:
   Too large data has 3 solution.
   1. Truncation. If the data has been encoded or compressed, truncation data 
is wrong.
   2. Reject the request. It is better.
   3. Sort process large data. DataProxy will has some risk.



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

Reply via email to