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

Remove rarely used zookeeper-specific min collection interval #4269

Merged
merged 1 commit into from
Aug 2, 2019
Merged

Remove rarely used zookeeper-specific min collection interval #4269

merged 1 commit into from
Aug 2, 2019

Conversation

jeffwidman
Copy link
Contributor

@jeffwidman jeffwidman commented Aug 1, 2019

This was a feature I'd pushed for several years ago to support fetching
consumer offsets from Zookeeper at a different rate than from Kafka.

However, now that Agent v6 supports setting min_collection_interval at
the instance level, this is no longer needed... instead, just configure
two separate instances of the check--one for kafka and one for
zookeeper.

So removing this code to simplify the legacy check. I would be very surprised if anyone ever actually used this, so I think it's very safe to make this a no-op, especially as fetching consumer offsets from Zookeeper is in the process of being deprecated.

Also, my apologies @truthbk for wasting your time when I pushed for implementing this feature!

@jeffwidman jeffwidman requested a review from a team as a code owner August 1, 2019 06:33
@jeffwidman jeffwidman changed the title Remove unused / hidden zookeeper-specific min collection interval [kafka_consumer] Remove unused / hidden zookeeper-specific min collection interval Aug 1, 2019
@jeffwidman jeffwidman requested a review from a team as a code owner August 1, 2019 06:40
@jeffwidman jeffwidman changed the title [kafka_consumer] Remove unused / hidden zookeeper-specific min collection interval [kafka_consumer] Remove rarely used zookeeper-specific min collection interval Aug 1, 2019
This was a feature I'd pushed for several years ago to support fetching
consumer offsets from Zookeeper at a different rate than from Kafka.

However, now that Agent v6 supports setting `min_collection_interval` at
the instance level, this is no longer needed... instead, just configure
two separate instances of the check--one for kafka and one for
zookeeper.

So removing this code to simplify the legacy check and making the
setting a no-op.
@ofek ofek changed the title [kafka_consumer] Remove rarely used zookeeper-specific min collection interval Remove rarely used zookeeper-specific min collection interval Aug 2, 2019
@ofek ofek merged commit b825d9c into DataDog:master Aug 2, 2019
@jeffwidman jeffwidman deleted the remove-zookeeper-min-collection-interval branch August 2, 2019 20:31
@truthbk
Copy link
Member

truthbk commented Aug 6, 2019

@jeffwidman no need to apologize for anything! We truly appreciate your contributions and are always grateful for them and for the insights you've provided! 🙇

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.

3 participants