-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for Pulsar 2.9 #300
Labels
type/feature
Indicates new functionality
Comments
Thanks for your suggestion. The method |
1 task
gaoran10
added a commit
that referenced
this issue
Oct 26, 2021
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]>
gaoran10
added a commit
that referenced
this issue
Oct 26, 2021
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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please update the codebase for Pulsar 2.9. I observe there are dependencies on
PulsarService::getLocalZkCache
(which was removed in 2.9).The topic lookup aspect seems in need of improvement. Be aware that most ZK structures use the broker's canonical name as the key, which is based on that broker's
advertisedAddress:webServicePort
. This is not the same as the broker service URL that is returned from theLookupService
. The lookup service returns information fromadvertisedListeners
which isn't necessarily the same value.Related:
The text was updated successfully, but these errors were encountered: