Skip to content

Commit

Permalink
[INLONG-9756][Manager] add separator between groupId and streamId in …
Browse files Browse the repository at this point in the history
…jobName
  • Loading branch information
aloyszhang committed Mar 1, 2024
1 parent 896bb54 commit 9acaa88
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
import java.util.Map;
import java.util.stream.Collectors;

import static org.apache.inlong.manager.common.consts.InlongConstants.HYPHEN;
import static org.apache.inlong.manager.plugin.util.FlinkUtils.getExceptionStackMsg;

/**
Expand Down Expand Up @@ -133,7 +134,7 @@ public ListenerResult listen(WorkflowContext context) throws Exception {

FlinkInfo flinkInfo = new FlinkInfo();

String jobName = Constants.SORT_JOB_NAME_GENERATOR.apply(processForm) + streamInfo.getInlongStreamId();
String jobName = Constants.SORT_JOB_NAME_GENERATOR.apply(processForm) + HYPHEN + streamInfo.getInlongStreamId();
flinkInfo.setJobName(jobName);
String sortUrl = kvConf.get(InlongConstants.SORT_URL);
flinkInfo.setEndpoint(sortUrl);
Expand Down

0 comments on commit 9acaa88

Please sign in to comment.