You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/03/04 17:26:13 UTC
[GitHub] merlimat opened a new pull request #1327: Refactored PulsarAdmin to use builder for configuration
merlimat opened a new pull request #1327: Refactored PulsarAdmin to use builder for configuration
URL: https://github.com/apache/incubator-pulsar/pull/1327
### Motivation
`PulsarAdmin` was taking a `ClientConfiguration` object from `pulsar-client`. The `ClientConfiguration` class has been now deprecated and in any case it was not really appropriate for the `PulsarAdmin` since it just needs to get the configuration for the authentication plugin
### Modifications
* Deprecated current constructors for `PulsarAdmin`
* Added builder to configure and construct `PulsarAdmin` instance, consistent with `PulsarClient` API.
* Updated all usages to new API
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services