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


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/sink/StreamSinkServiceImpl.java:
##########
@@ -234,6 +236,29 @@ public Integer save(SinkRequest request, UserInfo opInfo) {
         return id;
     }
 
+    @Override
+    public List<BatchResult> batchSave(List<SinkRequest> requestList, String 
operator) {
+        List<BatchResult> resultList = new ArrayList<>();
+        for (SinkRequest request : requestList) {
+            BatchResult result = BatchResult.builder()
+                    .uniqueKey(request.getSinkName() + "-" + 
request.getInlongGroupId() + "-"
+                            + request.getInlongStreamId())

Review Comment:
   ```suggestion
                       .uniqueKey(request.getInlongGroupId() + "-"
                               + request.getInlongStreamId() + "-" + 
request.getSinkName() )
   ```



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