nlu90 commented on a change in pull request #11293:
URL: https://github.com/apache/pulsar/pull/11293#discussion_r678744777



##########
File path: 
pulsar-functions/api-java/src/main/java/org/apache/pulsar/functions/api/BaseContext.java
##########
@@ -201,4 +202,14 @@
     default PulsarClient getPulsarClient() {
         throw new UnsupportedOperationException("not implemented");
     }
+
+    /**
+     * Get the pulsar client builder.

Review comment:
       After a second thought, I think User should be responsible for cleaning 
any client created by using the ClientBuilder.
   
   The Function Runtime is only responsible for closing the client get via 
`getPulsarClient()`.




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