-
Notifications
You must be signed in to change notification settings - Fork 575
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
efeg
merged 3 commits into
linkedin:migrate_to_kafka_2_5
from
tomncooper:kafka_2_6_fixes
Aug 12, 2020
Merged
Add support for Kafka 2.6 brokers #1311
efeg
merged 3 commits into
linkedin:migrate_to_kafka_2_5
from
tomncooper:kafka_2_6_fixes
Aug 12, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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>
efeg
reviewed
Aug 11, 2020
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.
@tomncooper Thanks for the PR!
Left some comments.
...main/java/com/linkedin/kafka/cruisecontrol/metricsreporter/CruiseControlMetricsReporter.java
Outdated
Show resolved
Hide resolved
...main/java/com/linkedin/kafka/cruisecontrol/metricsreporter/CruiseControlMetricsReporter.java
Outdated
Show resolved
Hide resolved
...main/java/com/linkedin/kafka/cruisecontrol/metricsreporter/CruiseControlMetricsReporter.java
Outdated
Show resolved
Hide resolved
...main/java/com/linkedin/kafka/cruisecontrol/metricsreporter/CruiseControlMetricsReporter.java
Outdated
Show resolved
Hide resolved
cruise-control/src/main/java/com/linkedin/kafka/cruisecontrol/executor/ExecutionTask.java
Outdated
Show resolved
Hide resolved
cruise-control/src/main/java/com/linkedin/kafka/cruisecontrol/executor/ExecutionTaskState.java
Outdated
Show resolved
Hide resolved
amuraru
reviewed
Aug 12, 2020
...main/java/com/linkedin/kafka/cruisecontrol/metricsreporter/CruiseControlMetricsReporter.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Thomas Cooper <tom.n.cooper@gmail.com>
efeg
approved these changes
Aug 12, 2020
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.
@tomncooper Thanks for the updates -- LGTM.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.