Kafka connect with kerbrosized db

2020-05-01 23:57发布

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

0条回答
登录 后发表回答