-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add minimum Kafka ACL permissions for Kafka Monitoring and Messages #35817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,6 +45,16 @@ Ensure [remote configuration][3] is set up for the agent running the Kafka Consu | |
| 1. In Datadog, under [Remote Configuration][13], check that remote configuration is enabled at the organization level. | ||
| 2. In Datadog, under [Remote Configuration][13], check that the agent running the Kafka Consumer integration has remote configuration enabled, and is using an API key with remote configuration enabled. | ||
|
|
||
| ## Kafka ACL permissions | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Having ## Kafka ACL permissions immediately followed by ## Required permissions is confusing — both are about permissions but they cover different things (Kafka cluster access for the Agent vs. Datadog RBAC for the user), and there's nothing to explain the distinction. I'd suggest one of:
I think option 2 perhaps is the best move. |
||
|
|
||
| If your Kafka cluster uses ACLs, the Datadog Agent user requires the following minimum permissions to read messages: | ||
|
|
||
| | Resource Name | Resource Type | Operation | | ||
| |---------------|---------------|-----------| | ||
| | `*` | `TOPIC` | `Read` | | ||
|
|
||
| These permissions are in addition to the [Kafka Monitoring permissions][14]. | ||
|
|
||
| ## Required permissions | ||
|
|
||
| You must have the `Data Streams Monitoring Capture Messages` permission, and these logs permissions that are part of the Datadog Standard role: | ||
|
|
@@ -94,3 +104,4 @@ To enable permissions, edit an existing role or create a new one on the [Roles p | |
| [11]: /integrations/kafka-consumer/?tab=host#validation | ||
| [12]: https://app.datadoghq.com/fleet | ||
| [13]: https://app.datadoghq.com/organization-settings/remote-config | ||
| [14]: /data_streams/kafka/#kafka-acl-permissions | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ACL section is inserted between the setup paragraph and the kafka_setup-2.png image, which breaks the flow — that image illustrates the setup dialog described in the paragraph above it. I think the move would be to shift the ### Kafka ACL permissions to after the image and its following paragraph