kafka-ops / julie

A solution to help you build automation and gitops in your Apache Kafka deployments. The Kafka gitops!
MIT License
417 stars 113 forks source link

Why add SecurityAdmin Rbac role to connectors ? #554

Open adelanoe opened 1 year ago

adelanoe commented 1 year ago

Hi, I'm currently trying to integrate Kafka Connect with JulieOps and I'm wondering why adding the role SecurityAdmin when using Rbac ('RBACBindingsBuilder' class, 'buildBindingsForConnect' method).

TopologyAclBinding secAdminBinding = apiClient.bind(principal, SECURITY_ADMIN).forKafkaConnect(connector).apply(); bindings.add(secAdminBinding);

According to the confluent documentation (https://docs.confluent.io/platform/current/connect/rbac/connect-rbac-getting-started.html#kconnect-role-mappings), the SecurityAdmin can't do anything.

image

Thank you @ludovic-boutros fyi