healchow commented on code in PR #6441:
URL: https://github.com/apache/inlong/pull/6441#discussion_r1015191582
##########
inlong-common/src/main/java/org/apache/inlong/common/heartbeat/ComponentHeartbeat.java:
##########
@@ -39,17 +43,38 @@ public class ComponentHeartbeat {
private String inCharges;
+ // node load
+ private int loadValue;
Review Comment:
Suggest using `Integer`, its default value is `null`, which is suitable for
usage.
And, personally, `value` is not needed in the param's name.
--
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]