Skip to content

Commit

Permalink
fixed naming of environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Panziera, Luca committed Feb 28, 2017
1 parent 3ef94af commit 042e967
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
Name: "read-queue-host-header",
Value: "kafka",
Desc: "The host header for the queue to read the messages from.",
EnvVar: "Q_READ_QUEUE_HOST_HEADER",
EnvVar: "Q_READ_HOST_HEADER",
})
readQueueConcurrentProcessing := app.Bool(cli.BoolOpt{
Name: "read-queue-concurrent-processing",
Expand Down Expand Up @@ -148,6 +148,9 @@ func main() {
log.Infof("[Startup] Using source configuration: %# v", srcConf)
log.Infof("[Startup] Using native writer configuration: %# v", writer)
log.Infof("[Startup] Using native writer configuration: %# v", *contentUUIDfields)
if messageProducer != nil {
log.Infof("[Startup] Producer: %# v", messageProducer)
}

go enableHealthCheck(messageConsumer, writer, messageProducer)
startMessageConsumption(messageConsumer)
Expand Down

0 comments on commit 042e967

Please sign in to comment.