Operation refers to the actions that can be performed on each resource. Different actions are available for each resource type (Topic, Group, TransactionalID).
Topic Operations
| Operation | Action |
|---|---|
| All | All actions |
| Alter | Alter topic settings (e.g., altering the number or partitions, reassigning topic replicas, etc.) |
| AlterConfigs | Alter topic configuration settings (e.g., altering cleanup.policy, etc.) |
| Create | Create new topics or topic metadata |
| Delete | Delete existing topics or records within a topic |
| Describe | View metadata of topics and partitions (e.g., number of partitions, leaders and followers, offsets, etc.) |
| DescribeConfigs | View topic configuration settings (e.g., view cleanup.policy, min.insync.replicas, etc.) |
| Read | Read messages from a topic |
| Write | Write messages to a topic |
Group Operations
| Operation | Action |
|---|---|
| All | All actions |
| Read | Consume messages from a consumer group |
| Delete | Delete a consumer group |
| Describe | View metadata of a consumer group (e.g., member information, offsets, lags, etc.) |
TransactionalID Operations
TransactionalID is a unique ID for distinguishing each transaction in Kafka. TransactionalID Operations mainly involve actions related to transactions.
| Operation | Action |
|---|---|
| All | All actions |
| Describe | View metadata of a Transactional ID (e.g., transaction status, producer ID, etc.) |
| Write | Perform transactions (e.g., start, commit, or stop a transaction) |