Describe the bug
When defining a principal in the topology as a service account resource ID (sa-XXXXXX) and specifying the com.purbon.kafka.topology.roles.HybridCCloudAclsProvider control class, the ACLs are created in confluent cloud with the sa-XXXXX id as opposed to the integer ID.
To Reproduce
Steps to reproduce the behavior:
Configure JuileOps with the following control class: topology.builder.access.control.class=com.purbon.kafka.topology.roles.HybridCCloudAclsProvider
Create a topology and specify the sa-XXXXX principal ID:
`context: "test"
source: "topo"
projects:
name: "julie"
topics:
name: "acl.test.1.0"
producers:
principal: "User:sa-12345"
consumers:
principal: "User:sa-12345"`
Run kafka-acls to validate the ACLs created:
`kafka-acls --command-config ~/acl-cmd-config --list --bootstrap-server
Current ACLs for resource ResourcePattern(resourceType=TOPIC, name=test.topo.acl.test.1.0, patternType=LITERAL):
(principal=User:sa-12345, host=, operation=READ, permissionType=ALLOW)
(principal=User:sa-12345, host=, operation=WRITE, permissionType=ALLOW)
...`
Expected behavior
The ACLs should be created with the equivalent integer ID.
Runtime (please complete the following information):
Describe the bug When defining a principal in the topology as a service account resource ID (sa-XXXXXX) and specifying the
com.purbon.kafka.topology.roles.HybridCCloudAclsProvider
control class, the ACLs are created in confluent cloud with the sa-XXXXX id as opposed to the integer ID.To Reproduce Steps to reproduce the behavior:
Configure JuileOps with the following control class:
topology.builder.access.control.class=com.purbon.kafka.topology.roles.HybridCCloudAclsProvider
Create a topology and specify the sa-XXXXX principal ID: `context: "test" source: "topo" projects:
Run kafka-acls to validate the ACLs created: `kafka-acls --command-config ~/acl-cmd-config --list --bootstrap-server
Current ACLs for resource
ResourcePattern(resourceType=TOPIC, name=test.topo.acl.test.1.0, patternType=LITERAL)
: (principal=User:sa-12345, host=, operation=READ, permissionType=ALLOW) (principal=User:sa-12345, host=, operation=WRITE, permissionType=ALLOW)...`
Expected behavior The ACLs should be created with the equivalent integer ID.
Runtime (please complete the following information):
Additional context