Kafka connect with kerbrosized db

2020-05-02 00:07发布

问题:

I am trying to use kafka connect as sink. Our db are kerberized, I am not able to figure out how we can specify kerberos in the connection,url rather than user pass

when i try to form the connection.url as

jdbc:db2://<host>:<port>/database;userKerberos=true

it fails saying invalid url.

My question is how we can use kerberos in kafka connect rather than specifying user and pass?

Other question is when I give even user/pass it throw below error

A communication error occurred on the connection's underlysing socker. Connection reset ERRORCODE=-4499, SQLSTATE=08001