Skip to content

Add kafka version config#189

Merged
zhouzhuojie merged 1 commit into
masterfrom
zz/add-kafka-version
Nov 13, 2018
Merged

Add kafka version config#189
zhouzhuojie merged 1 commit into
masterfrom
zz/add-kafka-version

Conversation

@zhouzhuojie
Copy link
Copy Markdown
Collaborator

Add kafka version configuration

Comment thread pkg/config/env.go
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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