You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Andras Katona (Jira)" <ji...@apache.org> on 2022/03/02 12:06:00 UTC

[jira] [Commented] (RANGER-3231) Ranger should use kafka Authorizer from KIP-504

    [ https://issues.apache.org/jira/browse/RANGER-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500088#comment-17500088 ] 

Andras Katona commented on RANGER-3231:
---------------------------------------

I've prepared a reviewboard request: https://reviews.apache.org/r/73880/, which is practically the same as the above mentioned PR (https://github.com/apache/ranger/pull/133).

It differs from the previous patch:
* start method is implemented too as [AclAuthorizer does in Kafka|https://github.com/apache/kafka/blob/f089bea7ed9fee2bad7084e6b40561ff6935ce5f/core/src/main/scala/kafka/security/authorizer/AclAuthorizer.scala#L194-L195]
* unsupported methods in Ranger-Kafka plugin are throwing/wrapping UnsupportedOperationException instead of returning empty
* calling the base-ranger plugin isAccessAllowed method with a list of requests instead of one-by-one - to support bulk-like authorization better


> Ranger should use kafka Authorizer from KIP-504
> -----------------------------------------------
>
>                 Key: RANGER-3231
>                 URL: https://issues.apache.org/jira/browse/RANGER-3231
>             Project: Ranger
>          Issue Type: Improvement
>          Components: plugins
>            Reporter: Ismael Juma
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> As described in the KIP, `org.apache.kafka.server.authorizer.Authorizer` is an improvement over `kafka.security.auth.Authorizer` and it's a pure Java interface (instead of Scala).
> `kafka.security.auth.Authorizer` has been deprecated since December 2019 and it will be removed in Apache Kafka 3.0 (roughly planned for July/August).
> See the KIP for more details:
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-504+-+Add+new+Java+Authorizer+Interface



--
This message was sent by Atlassian Jira
(v8.20.1#820001)