Masking password with a file in Kafka Connect, how to give the filepath?

Viewed 123

I am trying to mask username and password for connector, to do that I created a file named "login" to load this information from. Read KIP here and followed the answer here but I get ORA-01017 "Invalid username/password" error. I think there is a problem with file path, since I didn't get it exactly.

How should I give the file path, exact location as

"/kafka/confluent-5.4.1/etc/kafka/login"

or just the file name since it is located as the same directory as connect-distributed.properties

"login"

"/login"

or something else?

1 Answers
Related