You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/11/30 03:30:19 UTC

[GitHub] [pulsar] codelipenghui opened a new pull request #8740: [bot-cherry-pick]Support HAProxy proxy protocol for broker and proxy

codelipenghui opened a new pull request #8740:
URL: https://github.com/apache/pulsar/pull/8740


   ### Motivation
   
   Currently, if enable the proxy in the pulsar cluster and client connect to the cluster through the proxy, when we get topic stats, the consumer address and producer address are not the real client address. This PR fix this problem by leverage HAProxy proxy protocol since this is a more general approach.  more details about the proxy protocol see
   https://www.haproxy.com/blog/haproxy/proxy-protocol/
   https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-proxy-protocol.html
   http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
   
   ### Modifications
   
   Allow enable proxy protocol on proxy or broker.
   
   ### Verifying this change
   
   Tests added
   
   (cherry picked from commit 625627c8cc2915974a55c5fa7ae02fe33dd2e4c8)
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui merged pull request #8740: [bot-cherry-pick]Support HAProxy proxy protocol for broker and proxy

Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #8740:
URL: https://github.com/apache/pulsar/pull/8740


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on pull request #8740: [bot-cherry-pick]Support HAProxy proxy protocol for broker and proxy

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #8740:
URL: https://github.com/apache/pulsar/pull/8740#issuecomment-737131848


   Hey. If you want to cherry-pick this pr to a target branch, please comments '/pulsarbot cherry-pick to branch-x.y'.


----------------------------------------------------------------
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:
users@infra.apache.org