freeznet commented on pull request #8668:
URL: https://github.com/apache/pulsar/pull/8668#issuecomment-821239060


   @sijie I agree with your thought that try to inherit the pulsar service URL 
and auth configs from the function worker. But I dont think we should expose 
them to `Context`, which might have some security issues. 
   I dont have too much experiences about Kafka-connector/Debezium connector, 
but what I noticed from this PR is to inherit `PulsarClient` to connector. If i 
am correct, I would like to suggest to add `PulsarClient getClient()` into 
function/connector `Context`, then we can use the client to 
`PulsarOffsetBackingStore`.  /cc @rdhabalia 


-- 
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.

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


Reply via email to