forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow user to configure proxy as reverse HTTP proxy (apache#2801)
* Allow user to configure proxy as reverse HTTP proxy Users normally want to expose as few endpoints as possible. This patch enables configuring the pulsar proxy as a review http proxy, so that it can be used as a single endpoint for all pulsar and even non-pulsar HTTP services. The reverse proxy uses jetty's builtin implementation. It is configured in proxy.conf, in the form httpReverseProxy.NAME.path = '/path-on-pulsar-proxy-endpoint' httpReverseProxy.NAME.proxyTo = 'http://internal-server/some-app' where NAME is any user defined string. Multiple paths can be configured this way. * Add jetty logging at info level for tests
- Loading branch information
Showing
6 changed files
with
432 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.