qy-liuhuo commented on code in PR #11119:
URL: https://github.com/apache/inlong/pull/11119#discussion_r1766102619


##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/DefaultMessageSender.java:
##########
@@ -218,6 +226,9 @@ public SendResult sendMessage(byte[] body, String groupId, 
String streamId, long
      */
     public SendResult sendMessage(byte[] body, String groupId, String 
streamId, long dt, String msgUUID,
             long timeout, TimeUnit timeUnit, boolean isProxySend) {
+        if (enableDataTruncation) {
+            body = truncateData(body);

Review Comment:
   Sorry, do you mean to add data verification function?



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