healchow commented on code in PR #7596:
URL: https://github.com/apache/inlong/pull/7596#discussion_r1135359480
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/listener/sink/SinkResourceListener.java:
##########
@@ -67,7 +68,22 @@ public ListenerResult listen(WorkflowContext context) {
GroupResourceProcessForm form = (GroupResourceProcessForm)
context.getProcessForm();
String groupId = form.getInlongGroupId();
log.info("begin to create sink resources for groupId={}", groupId);
- groupService.updateStatus(groupId, GroupStatus.CONFIG_ING.getCode(),
context.getOperator());
+ GroupOperateType operateType = form.getGroupOperateType();
+ String operator = context.getOperator();
+ switch (operateType) {
Review Comment:
After updating the StreamSink, it should only change the status of
InlongStream.
--
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]