featzhang commented on code in PR #7001: URL: https://github.com/apache/inlong/pull/7001#discussion_r1056019029
########## inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/stream/InlongStreamServiceImpl.java: ########## @@ -514,12 +569,31 @@ public Boolean updateWithoutCheck(InlongStreamRequest request, String operator) // update stream fields updateField(groupId, streamId, request.getFieldList()); // update stream extension infos - saveOrUpdateExt(groupId, streamId, request.getExtList()); + List<InlongStreamExtInfo> extList = request.getExtList(); + saveOrUpdateExt(groupId, streamId, extList); LOGGER.info("success to update inlong stream without check for groupId={} streamId={}", groupId, streamId); return true; } + /** + * Pack extended attributes into ExtParams + * + * @param request the request + * @return the packed extParams + */ + private String packExtParams(InlongStreamRequest request) { + InlongStreamExtParamBuilder builder = InlongStreamExtParam.builder(); Review Comment: The `org.apache.inlong.manager.dao.entity.InlongStreamEntity` does not contain the same fields, json must be compressed into extParams, so `CommonBeanUtils.copyProperties(request, InlongStreamExtParam::new, true)` cannot be used; -- 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