aloyszhang commented on code in PR #10602:
URL: https://github.com/apache/inlong/pull/10602#discussion_r1672128377


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/source/AbstractSourceOperator.java:
##########
@@ -346,4 +403,222 @@ public void syncSourceFieldInfo(SourceRequest request, 
String operator) {
     public Integer addDataAddTask(DataAddTaskRequest request, String operator) 
{
         throw new BusinessException(String.format("not support data add task 
for type =%s", request.getSourceType()));
     }
+
+    private void updateAgentTaskConfig(SourceRequest request, String operator) 
{
+        try {
+            if (SourceType.AUTO_PUSH.equals(request.getSourceType())) {
+                return;
+            }
+            final String clusterName = request.getInlongClusterName();
+            final String ip = request.getAgentIp();
+            final String uuid = request.getUuid();
+            if (StringUtils.isBlank(clusterName) || StringUtils.isBlank(ip)) {

Review Comment:
   It's better to print a log containing clusterName and ip.



-- 
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]

Reply via email to