-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add support of auth&auth at discovery BinaryProto-lookup #126
Conversation
CLA is valid! |
1 similar comment
CLA is valid! |
@@ -78,7 +78,7 @@ public void run() { | |||
protected static void startWebService(ServerManager server, ServiceConfig config) throws Exception { | |||
// add servlet | |||
Map<String, String> initParameters = new TreeMap<>(); | |||
initParameters.put("zookeeperServers", config.getZookeeperServers()); | |||
initParameters.put("localZookeeperServers", config.getLocalZookeeperServers()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've being using zookeeperServers
elsewhere for the "local ZK connection", we should not change it just here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, we update the docs at https://github.com/yahoo/pulsar/blob/master/docs/ClusterSetup.md#service-discovery to add the newly introduced keys.
1f350e4
to
7e260a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated ClusterSetup.md and discovery.conf.
@@ -560,14 +559,3 @@ CommandPartitionedTopicMetadataResponse { | |||
"partitions" : 32 | |||
} | |||
``` | |||
|
|||
Example of response with redirection: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also include error response for TopicLookup
and PartitionedMetadataLookup
removed |
@merlimat : have addressed all the changes. can you please let me know if we need any other changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* Added runtime descriptor in functionConfig * Fixed unittest
* Add lib license for pulsar-client-go Signed-off-by: xiaolong.ran <rxl@apache.org> * add the path of license file Signed-off-by: xiaolong.ran <rxl@apache.org>
* feature: implement GetProducerName * feature: implement GetTopic * feature: test explicit producer name
Motivation
Discovery BinaryProto-Lookup service
Modifications
Result
Enabling authentication and authorization at discovery lookup service