You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/11/08 02:18:09 UTC

[GitHub] [inlong] healchow commented on a diff in pull request #6448: [INLONG-6438][SDK] Parses and handles ack response from DataProxy

healchow commented on code in PR #6448:
URL: https://github.com/apache/inlong/pull/6448#discussion_r1016078988


##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/SendResult.java:
##########
@@ -19,14 +19,19 @@
 package org.apache.inlong.sdk.dataproxy;
 
 public enum SendResult {
-    INVALID_ATTRIBUTES,
+    INVALID_ATTRIBUTES, //including DataProxyErrCode(100,101,102,112)
     OK,
     TIMEOUT,
     CONNECTION_BREAK,
     THREAD_INTERRUPT,
     ASYNC_CALLBACK_BUFFER_FULL,
     NO_CONNECTION,
-    INVALID_DATA,
-    UNKOWN_ERROR
+    INVALID_DATA, //including DataProxyErrCode(103, 111)
+    BODY_EXCEED_MAX_LEN,//DataProxyErrCode(104)
+    SINK_SERVICE_UNREADY, //DataProxyErrCode(1)
+    UNCONFIGURED_GROUPID_OR_STREAMID,//DataProxyErrCode(113)

Review Comment:
   Suggest adding one blank before and after the `//`.



-- 
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-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org