Support Pulsar Auth token for Debezium and Kafka connect adaptor - #10484
Support Pulsar Auth token for Debezium and Kafka connect adaptor#10484eolivelli wants to merge 1 commit into
Conversation
|
@sijie @rdhabalia @freeznet @jerrypeng @jiazhai This patch was a quick and dirty fix that we had in some local fork in order to unblock usage of these connectors in environments where you use Token Auth. I wanted to shared this patch more to start a discussion and to see the feedback from the community. if we want to go down the way of providing PulsarClient I am to work on that solution. IIRC there were some discussions about Classpath pollution introduced by adding support for PulsarAdmin, |
|
I have started a discussion on dev@ about having a way to have the PulsarClient object |
Let's avoid adding any dirty hack in the open-source project. If your team wants to maintain your own hack, please maintain that in your own branch.
It is a problem for Pulsar Admin. But it is not a problem for PulsarClient, because we already expose Producer and Message in the context object. |
|
I am closing this PR, I switched it to draft only to keep it visible. |
Motivation:
Currently with the Debezium and with the Kafka Connect Adapter you cannot configure authentication in order to connect to a Pulsar cluster that requires "Token" authentication
Changes:
With this patch we are adding support in the Debezium and in the Kafka Connect Adaptor for connecting to a Pulsar instance that supports Token authentication.
Documentation:
Documentation will be provided as a follow up patch.