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


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/source/StreamSourceServiceImpl.java:
##########
@@ -629,4 +630,12 @@ private void chkUnmodifiableParams(SourceRequest request) {
         request.setInlongStreamId(entity.getInlongStreamId());
         request.setSourceName(entity.getSourceName());
     }
+
+    @Override
+    public Integer addSub(SubSourceRequest request, String operator) {
+        StreamSourceEntity entity = 
sourceMapper.selectById(request.getSourceId());
+        StreamSourceOperator sourceOperator = 
operatorFactory.getInstance(entity.getSourceType());
+        int id = sourceOperator.addSubSource(request, operator);
+        return id;

Review Comment:
   ```suggestion
            return sourceOperator.addSubSource(request, operator);
   ```



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