Skip to content
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

Filter out empty consumer groups #15657

Merged
merged 6 commits into from
Aug 29, 2023
Merged

Filter out empty consumer groups #15657

merged 6 commits into from
Aug 29, 2023

Conversation

yzhan289
Copy link
Contributor

@yzhan289 yzhan289 commented Aug 22, 2023

What does this PR do?

This PR filters out consumer groups that are "".

Motivation

These consumer groups should not be considered valid, as we are unable to fetch offsets for consumer groups with names "".

https://datadoghq.atlassian.net/browse/AGENT-10106

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.

@github-actions
Copy link

github-actions bot commented Aug 22, 2023

Test Results

    8 files      8 suites   6m 19s ⏱️
  48 tests   48 ✔️ 0 💤 0
196 runs  192 ✔️ 4 💤 0

Results for commit e620b0b.

♻️ This comment has been updated with latest results.

@yzhan289 yzhan289 changed the title [DO-NOT-MERGE] Add debug log for discovered CG and filter out empty Filter out empty consumer groups Aug 28, 2023
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Merging #15657 (e620b0b) into master (441957c) will increase coverage by 0.00%.
Report is 9 commits behind head on master.
The diff coverage is 100.00%.

Flag Coverage Δ
kafka_consumer 93.49% <100.00%> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ghost ghost added the documentation label Aug 28, 2023
@yzhan289 yzhan289 marked this pull request as ready for review August 28, 2023 17:38
@yzhan289 yzhan289 requested review from a team as code owners August 28, 2023 17:38
steveny91
steveny91 previously approved these changes Aug 28, 2023
cswatt
cswatt previously approved these changes Aug 28, 2023
Copy link
Contributor

@cswatt cswatt left a comment

Choose a reason for hiding this comment

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

docs approved!

Co-authored-by: Florent Clarret <florent.clarret@datadoghq.com>
@yzhan289 yzhan289 dismissed stale reviews from cswatt and steveny91 via e620b0b August 29, 2023 15:11
@yzhan289 yzhan289 merged commit ea5e41d into master Aug 29, 2023
32 checks passed
@yzhan289 yzhan289 deleted the az/kc-empty-cg branch August 29, 2023 17:32
@vivek-datadog vivek-datadog added the category/bugfix For use during Agent Release period label Sep 5, 2023
vivek-datadog pushed a commit that referenced this pull request Sep 5, 2023
* Add debug log for discovered CG and filter out empty

* Fix formatting

* Add unit test

* Add Changelog entry

* Apply suggestions from code review

Co-authored-by: Florent Clarret <florent.clarret@datadoghq.com>

---------

Co-authored-by: Florent Clarret <florent.clarret@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants