You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "vernedeng (via GitHub)" <gi...@apache.org> on 2024/01/31 08:48:23 UTC
Re: [PR] [INLONG-9222][Manager] SortStandalone configuration support multiple tags [inlong]
vernedeng commented on code in PR #9637:
URL: https://github.com/apache/inlong/pull/9637#discussion_r1472486108
##########
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/sort/standalone/SortSourceClusterInfo.java:
##########
@@ -46,9 +50,17 @@ public class SortSourceClusterInfo {
String clusterTags;
String extTag;
String extParams;
+ Set<String> clusterTagsSet;
Map<String, String> extTagMap = new ConcurrentHashMap<>();
Map<String, String> extParamsMap = new ConcurrentHashMap<>();
+ public Set<String> getClusterTagsSet() {
+ if (CollectionUtils.isEmpty(clusterTagsSet)) {
+ clusterTagsSet = ImmutableSet.copyOf(clusterTags.split(","));
Review Comment:
fixed, thx
--
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: commits-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org