-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bugfix] Support for broker advertised listeners (#299)
Master Issue: #300 ### Motivation This PR reworks the broker service lookup logic for compatibility with 2.9. The compat issues are: 1. removal of `PulserService::getLocalZkCache` and increased encapsulation of ZooKeeper. 2. improve compatibility with `advertisedListeners` (don't compare broker service url with web service url). ### Modifications - Update Pulsar dependency to `2.9.0-rc-202110152205` - Update `PulsarServiceLookupHandler` to use `NamespaceService` and `MetadataStoreCacheLoader`. - No need for `PulsarClient` in the lookup handler - Set `amqp+ssl://` as the scheme that would be used for (as-yet unimplemented) TLS support - New config option `brokerLookupTimeoutSeconds` Co-authored-by: gaoran10 <[email protected]>
- Loading branch information
1 parent
8738a4c
commit 1e5af44
Showing
12 changed files
with
107 additions
and
246 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
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.