This product is not supported for your selected
Datadog site. (
).
This page covers the prerequisites and setup steps for Data Streams Monitoring’s Kafka Monitoring.
Prerequisites
Datadog Agent version
Datadog Agent version 7.78 or later is required.
ACL permissions
If your Kafka cluster uses ACLs, the Datadog Agent user requires the following minimum permissions:
| Resource Name | Resource Type | Operation |
|---|
kafka-cluster | CLUSTER | Describe |
kafka-cluster | CLUSTER | DescribeConfigs |
* | TOPIC | Describe |
* | TOPIC | DescribeConfigs |
* | GROUP | Describe |
Setup
Go to the Kafka Monitoring setup page and click Get Started. Then choose your environment and follow the instructions. To request assistance, choose Request a pairing session.
The setup page provides environment-specific configuration instructions. You can copy the instructions directly to an AI agent with Copy for AI.
Enable message inspection
This section applies only if you want to view Kafka message payloads in the Messages section. Skip it if you do not plan to use message inspection.
Additional ACL permission
In addition to the ACL permissions listed in Prerequisites, the Datadog Agent user requires:
| Resource Name | Resource Type | Operation |
|---|
* | TOPIC | Read |
Remote configuration
Remote configuration must be enabled at three levels:
- At the organization level.
- At the Agent level.
- At the API key level.
User permission
To view Kafka messages, a user must have the Data Streams Monitoring Capture Messages permission.
You can verify your current permissions on your Profile page. To enable permissions, edit an existing role or create a role on the Roles page. If you do not have permission to modify roles, contact your organization’s administrator.
1. Create a role
- Navigate to the Roles page in Datadog.
- Click + New Role in the top-right corner.
If you see "Read Only" instead of the "+ New Role button", you don't have permission to create roles. Contact your Datadog administrator for assistance.
- Enter a descriptive name for your role (for example, “Data Streams Messages Access”).
- In the Search Permissions field, type
Data Streams Monitoring Capture Messages. - Select the permission from the search results to enable it for this role.
- Click Save.
- Confirm your role was created successfully by searching for it in the roles list.
2. Assign the role to users
- Go to the Users page in Datadog.
- Find and click on the user you want to assign the role to.
- In the user details panel, click Edit next to their name.
If you don't see an Edit button, you need administrator privileges to modify user roles. Contact your Datadog administrator.
- In the modal that opens, locate the Roles section.
- Add your newly created role to the user.
- Click Save.
- Look for a User updated confirmation message to verify the change was successful.