Hi Jiwei

I think it is very useful

Thanks
Yubiao Feng

On Thu, Sep 26, 2024 at 10:06 PM guo jiwei <techno...@apache.org> wrote:

> 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