nodece commented on code in PR #16568:
URL: https://github.com/apache/pulsar/pull/16568#discussion_r920698629
##########
pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ClientBuilder.java:
##########
@@ -566,4 +566,20 @@ ClientBuilder authentication(String authPluginClassName,
Map<String, String> aut
* @return
*/
ClientBuilder socks5ProxyPassword(String socks5ProxyPassword);
+
+ /**
+ * When using the client as a proxy service, client can support the
original principal.
+ *
+ * @param originalPrincipal
+ * @return the client builder instance
+ */
+ ClientBuilder originalPrincipal(String originalPrincipal);
Review Comment:
Websocket module requires this.
--
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]