healchow commented on code in PR #6790: URL: https://github.com/apache/inlong/pull/6790#discussion_r1044003136
########## inlong-manager/manager-plugins/src/main/java/org/apache/inlong/manager/plugin/listener/RestartStreamListener.java: ########## @@ -89,9 +89,11 @@ public ListenerResult listen(WorkflowContext context) throws Exception { Map<String, String> kvConf = new HashMap<>(); groupExtList.forEach(groupExtInfo -> kvConf.put(groupExtInfo.getKeyName(), groupExtInfo.getKeyValue())); - streamExtList.forEach(extInfo -> { - kvConf.put(extInfo.getKeyName(), extInfo.getKeyValue()); - }); + if (streamExtList != null) { Review Comment: // import org.apache.commons.collections.CollectionUtils; ```suggestion if (!CollectionUtils.isEmpty(streamExtList)) { ``` -- 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-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org