Skip to content
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

Merged
merged 1 commit into from
Dec 3, 2016

Conversation

rdhabalia
Copy link
Contributor

Motivation

Discovery BinaryProto-Lookup service

  • Add support of authentication and authorization
  • Avoid redirection while partitionedMetadataLookup

Modifications

  • Authenticate client at initial connection with discovery service
  • PartitionMetadataLookup and authorization
  • Remove redirection from PartitionMetadataResponse and client library

Result

Enabling authentication and authorization at discovery lookup service

@rdhabalia rdhabalia added the type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages label Nov 24, 2016
@rdhabalia rdhabalia added this to the 1.16 milestone Nov 24, 2016
@rdhabalia rdhabalia self-assigned this Nov 24, 2016
@yahoocla
Copy link

CLA is valid!

1 similar comment
@yahoocla
Copy link

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());
Copy link
Contributor

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

Copy link
Contributor

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.

@rdhabalia rdhabalia force-pushed the auth_disc branch 3 times, most recently from 1f350e4 to 7e260a9 Compare November 29, 2016 00:57
Copy link
Contributor Author

@rdhabalia rdhabalia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -560,14 +559,3 @@ CommandPartitionedTopicMetadataResponse {
"partitions" : 32
}
```

Example of response with redirection:
Copy link
Contributor Author

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

@rdhabalia
Copy link
Contributor Author

removed local prefix from zookeeperserver config.

@rdhabalia
Copy link
Contributor Author

@merlimat : have addressed all the changes. can you please let me know if we need any other changes.

Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@merlimat merlimat merged commit 710755f into apache:master Dec 3, 2016
@rdhabalia rdhabalia deleted the auth_disc branch January 23, 2017 22:10
sijie pushed a commit to sijie/pulsar that referenced this pull request Mar 4, 2018
* Added runtime descriptor in functionConfig

* Fixed unittest
hrsakai pushed a commit to hrsakai/pulsar that referenced this pull request Dec 10, 2020
* 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>
massakam pushed a commit to massakam/pulsar that referenced this pull request Feb 9, 2021
* feature: implement GetProducerName

* feature: implement GetTopic

* feature: test explicit producer name
hangc0276 pushed a commit to hangc0276/pulsar that referenced this pull request May 26, 2021
cbornet pushed a commit to cbornet/pulsar that referenced this pull request Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants