merlimat opened a new pull request #11693:
URL: https://github.com/apache/pulsar/pull/11693
### Motivation
The `PulsarResources` and its companion classes are all taking `String`s
with paths for resources in the metadata store. This has lead to a
proliferation of string composition to construct these paths from all over the
code base.
Instead, we should be taking the resource namings (eg: `TopicName`,
`NamespaceName`, etc.) and hide the path in the metadata.
### Modifications
* Changes all methods in `BaseResources` to be protected
* Each subclass exposes resource specific public methods
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]