Hello,

I have created a PIP for supporting granting/revoking permissions for
multiple topics.

In AuthorizationProvider, the authorization interface
`grantPermissionAsync(TopicName topicName, Set<AuthAction> actions, String
role, String authDataJson)` currently only supports granting permissions to
a single topic.
If multiple topics need to be authorized under a namespace, the client
needs to call the authorization interface concurrently.
Since the permissions information are stored in the namespace-level
policies, and multiple topics may be on different brokers, concurrent
authorization will cause concurrent modification exceptions.
Therefore, supporting granting/revoking permissions for multiple topics is
very friendly.

PIP-383: https://github.com/apache/pulsar/pull/23355

Regards
Jiwei Guo (Tboy)

Reply via email to