nlu90 commented on pull request #11251:
URL: https://github.com/apache/pulsar/pull/11251#issuecomment-876750952


   > LGTM is this unblocks Debezium tests
   > 
   > IIUC we wanted to use the client in order to access auth and TLS.
   > 
   > With this change it is not possible to do it.
   > 
   > What is your plan?
   
   Based on Debezium's current paradigm, user can only pass string parameters 
in the configuration. For our case, it'll be better if they allow passing 
serialized objects. This will be the most secure way but needs help from 
Debezium community.
   
   A second way would be we can access the PulsarClient via some static method 
in `PulsarDatabaseHistory`. This is a little bit hacky but works quickly if 
it's possible.
   
   One last way is we add history database specific pulsar auth parameters in 
[`PulsarDatabaseHistory`](https://github.com/apache/pulsar/blob/6704f12104219611164aa2bb5bbdfc929613f1bf/pulsar-io/debezium/core/src/main/java/org/apache/pulsar/io/debezium/PulsarDatabaseHistory.java#L53).
 This makes it follow the Debezium paradigm but not secure with pulsar.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to