gosonzhang commented on code in PR #11119:
URL: https://github.com/apache/inlong/pull/11119#discussion_r1766493819
##########
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:
The data content reported by the user cannot be modified
--
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]