vernedeng commented on code in PR #9298:
URL: https://github.com/apache/inlong/pull/9298#discussion_r1405726506
##########
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/consts/SinkType.java:
##########
@@ -39,4 +47,27 @@ public class SinkType extends StreamType {
* Details: <a href="https://www.tencentcloud.com/products/cls">CLS</a>
*/
public static final String CLS = "CLS";
+
+ public static final Set<String> SORT_FLINK_SINK = new HashSet<>();
+
+ public static final Set<String> SORT_STANDALONE_SINK = new HashSet<>();
+
+ public static boolean containSortFlinkSink(List<String> sinkTypes) {
Review Comment:
use Set::retainAll to get the intersection of two sets
--
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]