ruanwenjun commented on code in PR #5891:
URL: https://github.com/apache/seatunnel/pull/5891#discussion_r1403081525
##########
seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/config/JdbcConnectionConfig.java:
##########
@@ -76,7 +76,7 @@ public static JdbcConnectionConfig of(ReadonlyConfig config) {
builder.useKerberos(config.get(JdbcOptions.USE_KERBEROS));
builder.kerberosPrincipal(config.get(JdbcOptions.KERBEROS_PRINCIPAL));
builder.kerberosKeytabPath(config.get(JdbcOptions.KERBEROS_KEYTAB_PATH));
- builder.kerberosKeytabPath(config.get(JdbcOptions.KRB5_PATH));
+ builder.krb5Path(config.get(JdbcOptions.KRB5_PATH));
Review Comment:
Bug fix, current code uses `KRB5_PATH` to overwrite `kerberosKeytabPath`
this will cause us to use the incorrect Kerberos configuration to login.
--
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]