Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 33eac22

Browse files
author
João Assunção
committed
refactor(injector.go): changes parameter from withKeyAndValue to includeKey
1 parent 25965fe commit 33eac22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/injector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func main() {
4545
BufferSize: os.Getenv("KAFKA_CONSUMER_BUFFER_SIZE"),
4646
MetricsUpdateInterval: os.Getenv("KAFKA_CONSUMER_METRICS_UPDATE_INTERVAL"),
4747
RecordType: os.Getenv("KAFKA_CONSUMER_RECORD_TYPE"),
48-
WithKeyAndValue: os.Getenv("KAFKA_CONSUMER_WITH_KEY_AND_VALUE"),
48+
IncludeKey: os.Getenv("KAFKA_CONSUMER_INCLUDE_KEY"),
4949
}
5050
metricsPublisher := metrics.NewMetricsPublisher()
5151
service := injector.NewService(logger, metricsPublisher)

0 commit comments

Comments
 (0)