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 kafka version config #189

Merged
merged 1 commit into from
Nov 13, 2018
Merged

Add kafka version config #189

merged 1 commit into from
Nov 13, 2018

Conversation

zhouzhuojie
Copy link
Collaborator

Add kafka version configuration

@@ -67,6 +67,7 @@ var Config = struct {
RecorderType string `env:"FLAGR_RECORDER_TYPE" envDefault:"kafka"`

// Kafka related configurations for data records logging (Flagr Metrics)
RecorderKafkaVersion string `env:"FLAGR_RECORDER_KAFKA_VERSION" envDefault:"0.8.2.0"`
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the default sarama setting

Copy link

Choose a reason for hiding this comment

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

consider using 0.11+?

0.8 is too old. not including timestamp in record as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

using 0.11+ as default is a breaking change, I will set it manually for Checkr.

@codecov-io
Copy link

Codecov Report

Merging #189 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #189      +/-   ##
==========================================
+ Coverage   90.85%   90.88%   +0.03%     
==========================================
  Files          25       25              
  Lines        1410     1415       +5     
==========================================
+ Hits         1281     1286       +5     
  Misses         96       96              
  Partials       33       33
Impacted Files Coverage Δ
pkg/handler/data_recorder_kafka.go 82.1% <100%> (+0.99%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b83965...8e84a94. Read the comment docs.

@zhouzhuojie zhouzhuojie merged commit f28b839 into master Nov 13, 2018
@zhouzhuojie zhouzhuojie deleted the zz/add-kafka-version branch November 13, 2018 23:22
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.

5 participants