pulsar-admin topics grant-permission
command to grant permissions to a topic. Here is an example on how to grant produce
action to a topic:
kafka-acls.sh
command to grant permissions to a topic. Here is an example on how to grant WRITE
and CREATE
operations to a topic:
Kafka ACL Operation | Pulsar Authorization Action |
---|---|
READ | consume |
WRITE | produce |
IDEMPOTENT_WRITE | produce |
CREATE | Super User |
DELETE | Super User |
ALTER | Super User |
DESCRIBE | produce or consume |
DESCRIBE_CONFIGS | produce or consume |
CLUSTER_ACTION | N/A |
ALTER_CONFIGS | N/A |
UNKNOWN | N/A |
ALL | Super User |
ANY | Super User |
pulsar-admin
pulsar-admin
CLI to manage the ACLs, for example, grant produce
and consume
actions to role (aka principal) test-role
in test-tenant/namespace1
namespace.