lhotari opened a new pull request #14713:
URL: https://github.com/apache/pulsar/pull/14713
### Motivation
Refactor Proxy code to make it easier to understand and maintain.
### Modifications
- replace broker host parsing with a simple solution
- pass remote host name to ProxyBackendHandler in the constructor
- rename "targetBrokerUrl" to "brokerHostAndPort" since the
"targetBrokerUrl" is really "hostname:port" string
- move HA proxy message handling to ProxyBackendHandle and extract the logic
to a method
- remove the static "inboundOutboundChannelMap" which was used for log level
2
- make it obsolete by passing the peer channel id to ParserProxyHandler
--
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]