Skip to content

Conversation

piochelepiotr
Copy link
Contributor

What does this PR do? What is the motivation?

  • Moved the kafka consumer check setup docs to the Kafka consumer integration page.
  • Updated minimum agent version required

Merge instructions

Merge readiness:

  • Ready for merge

For Datadog employees:

Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). Without this format, your pull request will not pass CI, the GitLab pipeline will not run, and you won't get a branch preview. Getting a branch preview makes it easier for us to check any issues with your PR, such as broken links.

If your branch doesn't follow this format, rename it or create a new branch and PR.

[6/5/2025] Merge queue has been disabled on the documentation repo. If you have write access to the repo, the PR has been reviewed by a Documentation team member, and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #documentation channel in Slack.

Additional notes

@piochelepiotr piochelepiotr requested review from a team as code owners September 3, 2025 15:47
Copy link
Contributor

github-actions bot commented Sep 3, 2025

Preview links (active after the build_preview check completes)

Modified Files

@buraizu buraizu self-assigned this Sep 3, 2025
Copy link
Contributor

@rtrieu rtrieu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, left some feedback per our style guidelines for your review. Let me know if you have any questions!

@buraizu buraizu removed their assignment Sep 3, 2025
piochelepiotr and others added 12 commits September 3, 2025 14:21
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
@piochelepiotr piochelepiotr requested a review from rtrieu September 3, 2025 20:25
Copy link

@shellymat-dd shellymat-dd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, added some comments / clarifications. Thanks!

@@ -2,49 +2,46 @@
title: Messages
---

Use the Messages feature to view Kafka messages directly and troubleshoot your data streams efficiently. You can view messages at specific offsets within Kafka. Inspecting these messages can be crucial when troubleshooting issues related to specific services or data streams.
The Messages feature allows you to view Kafka messages on specific partitions / offsets, to debug poison payload problems, or to learn more about your data streams.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we start by describing how customers can benefit from the feature? Something like pinpoint poison pills in Kafka by inspecting messages.. Adding this doc for reference if helpful https://docs.google.com/document/d/1TmQMuvyMPDPWzOY1nW9sSLIhN6IbHTLo017DUEp4yiM/edit?tab=t.0


If you self-host Kafka, Datadog recommends setting up Messages on one of your Kafka brokers' agents. Otherwise, choose any one agent your producer or consumer services communicate with that has access to your Kafka cluster.
[Kafka Consumer][6] integration needs to be setup on the topic you want to retrieve messages from.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When looking at the integration documentation it's not clear to me what does it mean to be set up on the topic I want to retrieve messages from. If it's there, can we link it to the specific section? If it's not, then worth clarifying here or there - wherever makes more sense


Complete the following steps on the same Datadog agent:
1. [Run the Agent's status subcommand][10] and look for `kafka_consumer` under the Checks section.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which subcommand did you mean? Service or agent? If agent we can link to https://docs.datadoghq.com/agent/configuration/agent-commands/#agent-information

Should we link to the kafka consumer integration docs - validation and troubleshooting?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, let's link to the kafka-consumer validation docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant the agent status command


##### 2. Enable [remote configuration][3]
1. [Run the Agent's status subcommand][10] and check the agent version.
2. In the Datadog app, under `integrations`, `View agents`, find the agent running the Kafka Consumer integration, and check its version.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find "view agents" under integrations. Can you link the view?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, linked it. I don't like the fact that it's linking to the the app in us1 always, but maybe there is a way to fix that.


##### 3. Configure Kafka consumer integration
Ensure [remote configuration][3] is setup for the agent running the Kafka Consumer integration.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. Enabling the base remote configuration should be enough


##### 1. Create a new role
### 1. Create a new role

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in #4 below - do we only need DSM permissions or all the permissions you mentioned above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logs permissions are part of the standard role, so users should already have them.

Copy link

@shellymat-dd shellymat-dd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for making the changes!

@piochelepiotr
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Sep 4, 2025

View all feedbacks in Devflow UI.

2025-09-04 19:27:03 UTC ℹ️ Start processing command /merge


2025-09-04 19:27:17 UTC ℹ️ MergeQueue: waiting for PR to be ready

This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals.
Note: if you pushed new commits since the last approval, you may need additional approval.
You can remove it from the waiting list with /remove command.


2025-09-04 19:50:26 UTC ℹ️ MergeQueue: queue is disabled

Added to the queue but the mergequeue is not enabled for now.


2025-09-04 21:31:21 UTC ℹ️ MergeQueue: This merge request was already merged

This pull request was merged directly.

@piochelepiotr piochelepiotr merged commit f5fe68b into master Sep 4, 2025
22 checks passed
@piochelepiotr piochelepiotr deleted the piotr.wolski/update-kafka-messages-docs branch September 4, 2025 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants