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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]