woofyzhao commented on code in PR #4410:
URL: https://github.com/apache/inlong/pull/4410#discussion_r920727752
##########
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/sink/ck/ClickHouseSinkDTO.java:
##########
@@ -142,4 +155,12 @@ public static ClickHouseTableInfo
getClickHouseTableInfo(ClickHouseSinkDTO ckInf
return tableInfo;
}
+ private ClickHouseSinkDTO decryptPassword() throws Exception {
+ if (StringUtils.isNotEmpty(this.password)) {
+ byte[] passwordBytes = AESUtils.decryptAsString(this.password,
this.encryptVersion);
Review Comment:
Shouldn't encryptVersion be retrieved from table row field?
--
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]