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.
[admin] Allow http service URIs with path (apache#11841)
e943d1b changed how the root URI was generated for PulsarAdmin so that if multiple hosts had been selected in the URI, only one would be used. However, the change in question discarded the path from the URI which is necessary for some usecases, such as using PulsarAdmin over kube-proxy. This change adds a method to ServiceURI to generate a correct fully formed URI with a single host, and uses this to generate the URI for PulsarAdmin.
- Loading branch information
Showing
3 changed files
with
59 additions
and
5 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