featzhang commented on code in PR #8273:
URL: https://github.com/apache/inlong/pull/8273#discussion_r1233086785
##########
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/http/InternalHttpSender.java:
##########
@@ -206,7 +206,7 @@ private SendResult sendByHttp(List<String> bodies, String
groupId, String stream
if (jsonRes.has("code")) {
int code = jsonRes.get("code").getAsInt();
- if (code == 1) {
Review Comment:
It is recommended to extract it into static variables to avoid magic numbers.
--
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]