-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Separate config logic #13975
Separate config logic #13975
Conversation
* Remove deprecated implementation of kafka_consumer * Apply suggestions
* remove dsm * remove dsm from metadata.csv
* remove more unused code * revert changes in check
* Add more tests to increase code coverage * change to configerror * unsplit test files * update comments * apply review suggestions
This reverts commit 1492138.
* Map out structure * Combine classes * Remove deprecated call * Remove clazz * Create structure for kafka client classes * Undo * Fix style * Add consumer offset and log collection (#13944) * Refactor broker offset metric collection (#13934) * Add broker offset metric collection * Change import * Clean up broker offset functions and change names * Fix style * Use updated values for check * Clean up functions * Refactor client creation (#13946) * Refactor client creation * Add back e2e test * Remove commented out line * Remove KafkaClient and refactor tests (#13954) * Revert "Remove KafkaClient and refactor tests (#13954)" This reverts commit e327d71. --------- Co-authored-by: Fanny Jiang <fanny.jiang@datadoghq.com>
4f4cae8
to
30143f5
Compare
self.check = check | ||
self.config = config |
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.
I ended up using self.kafka_config
instead of self.config
here since self.config
is used by the ConfigMixin, but this is only initialized right before the first check run. I wanted to make sure that I avoid any collisions in self.config
.
97c64f7
to
423bb34
Compare
CI is currently failing since there are still some references to |
b6a8572
to
1efecf5
Compare
Closing in favor of #13989 |
What does this PR do?
Motivation
Additional Notes
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attachedqa/skip-qa
label.