Skip to content

Commit f131e1f

Browse files
committed
[fix] mark the token as a sensitive config option
so it's not logged by Kafka Connect
1 parent ef62b81 commit f131e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connector/src/main/java/io/questdb/kafka/QuestDBSinkConnectorConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static ConfigDef conf() {
6060
.define(INCLUDE_KEY_CONFIG, Type.BOOLEAN, true, Importance.MEDIUM, INCLUDE_KEY_DOC)
6161
.define(SYMBOL_COLUMNS_CONFIG, Type.STRING, null, Importance.MEDIUM, SYMBOL_COLUMNS_DOC)
6262
.define(USERNAME, Type.STRING, "admin", Importance.MEDIUM, USERNAME_DOC)
63-
.define(TOKEN, Type.STRING, null, Importance.MEDIUM, TOKEN_DOC)
63+
.define(TOKEN, Type.PASSWORD, null, Importance.MEDIUM, TOKEN_DOC)
6464
.define(TLS, Type.BOOLEAN, false, Importance.MEDIUM, TLS_DOC);
6565
}
6666

0 commit comments

Comments
 (0)