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

Add support for Kafka 2.6 brokers #1311

Merged
merged 3 commits into from
Aug 12, 2020

Conversation

tomncooper
Copy link
Contributor

This PR resolves #1309 and allows the Cruise Control Metrics reporter to work with Kafka 2.6 brokers.

This PR also refactors the ExecutionTask.State enum into its own separate class. This is needed as switching to the Kafka 2.6 libraries causes the gradle scala compiler to throw cyclical reference errors for this class.

* Switched to Kafka 2.6.0 library versions
* Changed class used for obtaining the default metrics registry in the metrics reporter

Signed-off-by: Thomas Cooper <tom.n.cooper@gmail.com>
This was required to allow the ExecutionTask class to be compiled by
scala without raising cyclical reference errors.

Signed-off-by: Thomas Cooper <tom.n.cooper@gmail.com>
Copy link
Collaborator

@efeg efeg left a comment

Choose a reason for hiding this comment

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

@tomncooper Thanks for the PR!
Left some comments.

Signed-off-by: Thomas Cooper <tom.n.cooper@gmail.com>
@tomncooper tomncooper changed the base branch from migrate_to_kafka_2_6 to migrate_to_kafka_2_5 August 12, 2020 14:55
@tomncooper tomncooper requested a review from efeg August 12, 2020 14:56
Copy link
Collaborator

@efeg efeg left a comment

Choose a reason for hiding this comment

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

@tomncooper Thanks for the updates -- LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants