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.
Fix http produce msg redirect issue. (apache#15551)
Master Issue: apache#15546 ### Motivation When lookup the topic ownership using REST produce, the redirect URI is incorrect, because : ``` uri.getPath(false); //Get the path of the current request relative to the base URI as a string. ``` So the redirect URI does not contain the base path: ``` URI redirectURI = new URI(String.format("%s%s", redirectAddresses.get(0), uri.getPath(false))) ```
- Loading branch information
1 parent
ddd0316
commit 7f976da
Showing
2 changed files
with
12 additions
and
7 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