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

William Tang commented on KAFKA-21495:
--------------------------------------

Hi [~fvaleri] , 

I'm picking up KAFKA-21495, KAFKA-21496 and KAFKA-21497 as three small PRs, 
enum additions only, with the values from KIP-1279: ResourceType.CLUSTER_MIRROR 
= 8, ConfigResource.Type.CLUSTER_MIRROR = 64, ConfigType.CLUSTER_MIRROR = 
"cluster-mirrors".

The KIP also specifies CLI support (kafka-acls.sh --cluster-mirror, 
kafka-configs.sh --entity-type cluster-mirrors). I don't see tickets for those 
yet. I'm happy to file and take the AclCommand one (unless it is planned and 
distributed in one of the tasks that i am not aware of), which would also add 
the AclEntry.supportedOperations mapping for CLUSTER_MIRROR. From the KIP's 
permission tables, that's Read, Create, Alter, Delete, Describe, AlterConfigs 
and DescribeConfigs. 

Thanks!

> Add ResourceType.CLUSTER_MIRROR ACL resource
> --------------------------------------------
>
>                 Key: KAFKA-21495
>                 URL: https://issues.apache.org/jira/browse/KAFKA-21495
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Federico Valeri
>            Assignee: William Tang
>            Priority: Major
>
> KIP-1279 introduces native cluster mirroring, which requires a dedicated ACL 
> resource type to authorize mirror operations independently from existing 
> resource types.
> Add CLUSTER_MIRROR to org.apache.kafka.common.resource.ResourceType. This 
> allows administrators to grant or deny permissions on cluster mirror 
> resources through the standard ACL APIs, controlling which principals can 
> create, start, stop, pause, resume, or delete cluster mirrors.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to