healchow commented on code in PR #9298:
URL: https://github.com/apache/inlong/pull/9298#discussion_r1398636241
##########
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/consts/SinkType.java:
##########
@@ -39,4 +45,23 @@ 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<>();
+
+ static {
+ SORT_FLINK_SINK.addAll(
Review Comment:
This method is not very flexible. If a new type is added, the code here
needs to be updated. Can we achieve this functionality through annotations?
--
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]