-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Hi!
Is your feature request related to a problem? Please describe.
I'm working on KoP, and I'm currently implementing security on it. I'm currently struggling to list all topics according to a Pulsar role.
Part of the Kafka handshake is called the Metadata request:
Most of the client implementation are expecting to retrieve all available topics by sending a MetadataRequest with an empty list of topics. In the context of authorization, I can't list all topics related to a Pulsar Role because I can't reverse from a role the associated tenants and namespaces.
Describe the solution you'd like
I would like to add a new internal function that, given a role, is answering the full list of associated namespaces.
I think this type of code should be exposed within the admin API but maybe there is another(and better!) location like the NamespaceService?