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 producer folder to pkg/kafka/config #957

Merged
merged 1 commit into from
Jul 26, 2018

Conversation

davit-y
Copy link
Contributor

@davit-y davit-y commented Jul 25, 2018

Signed-off-by: Davit Yeghshatyan davo@uber.com

Which problem is this PR solving?

Short description of the changes

  • Moved producer config to new producer folder in pkg/kafka/config to allow the consumer PR Ingester Consumer #942 to simply add a consumer folder

}

// Initialize implements storage.Factory
func (f *Factory) Initialize(metricsFactory metrics.Factory, logger *zap.Logger) error {
f.metricsFactory, f.logger = metricsFactory, logger
logger.Info("Kafka storage configuration",
zap.Any("producer config", f.config),
logger.Info("Kafka producer builder",
Copy link
Contributor

Choose a reason for hiding this comment

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

s/Kafka producer builder/Kafka factory

@codecov
Copy link

codecov bot commented Jul 25, 2018

Codecov Report

Merging #957 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #957   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         136    136           
  Lines        6322   6322           
=====================================
  Hits         6322   6322
Impacted Files Coverage Δ
plugin/storage/kafka/options.go 100% <100%> (ø) ⬆️
plugin/storage/kafka/factory.go 100% <100%> (ø) ⬆️

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 4827ac4...956cc4a. Read the comment docs.

@davit-y davit-y mentioned this pull request Jul 25, 2018
9 tasks
logger.Info("Kafka producer builder",
zap.Any("producer builder", f.Builder),
logger.Info("Kafka factory",
zap.Any("producer factory", f.Builder),
Copy link
Contributor

Choose a reason for hiding this comment

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

this was fine as is

Signed-off-by: Davit Yeghshatyan <davo@uber.com>
@black-adder black-adder merged commit cac7343 into jaegertracing:master Jul 26, 2018
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

2 participants