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

Improvement and clean up. #45

Merged
merged 4 commits into from
Oct 5, 2017

Conversation

becketqin
Copy link
Contributor

@becketqin becketqin commented Oct 5, 2017

  1. Bumped Kafka dependency to 0.10.2.1. So broker version 0.10.0 and above would work.
  2. Removed test harness classes. Just depend on li-apache-kafka-clients instead.
  3. Added separate configurations for the metrics reporter producer.
  4. Added the missing sasl configs.

Jiangjie Qin and others added 3 commits October 4, 2017 11:30
…ocol.

remove test harness classes to depend on li-apache-kafka-clients
Copy link
Contributor

@smccauliff smccauliff left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM.

@@ -85,30 +86,36 @@ public void close() {

@Override
public void configure(Map<String, ?> configs) {
String bootstrapServers = (String) configs.get(CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS);
if (bootstrapServers == null) {
Properties producerProps = CruiseControlMetricsReporterConfigs.parseConfigMap(configs);
Copy link
Contributor

Choose a reason for hiding this comment

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

If CruiseControlMetricsRepoterConfigs just extended from the Kafka configs class it would be easy to put all this default logic into that class. No?

@becketqin becketqin merged commit 784db92 into linkedin:master Oct 5, 2017
becketqin added a commit that referenced this pull request Oct 19, 2017
1. Bumped Kafka dependency to 0.10.2.1. So broker version 0.10.0 and above would work.
2. Removed test harness classes. Just depend on li-apache-kafka-clients instead.
3. Added separate configurations for the metrics reporter producer.
4. Added the missing sasl configs.

Conflicts:
	build.gradle
This pull request was closed.
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.

3 participants