healchow commented on code in PR #5679:
URL: https://github.com/apache/inlong/pull/5679#discussion_r953802724


##########
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/InlongGroupContext.java:
##########
@@ -75,6 +83,22 @@ public InlongGroupContext(InnerGroupContext groupContext) {
         }
     }
 
+    private List<StreamSource> getGroupSources() {
+        List<StreamSource> groupSources = Lists.newArrayList();
+        this.inlongStreamMap.values().forEach(inlongStream -> {
+            Map<String, StreamSource> sources = inlongStream.getSources();
+            if (MapUtils.isNotEmpty(sources)) {
+                for (Map.Entry<String, StreamSource> entry : 
sources.entrySet()) {
+                    StreamSource source = entry.getValue();
+                    if (source != null) {
+                        sourcesInGroup.add(source);

Review Comment:
   Where is the "sourcesInGroup" comes from?



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