Browse Source

cw2

master
Andrey Kovalev 2 years ago
parent
commit
920ad09b86
Signed by: Russia9
GPG Key ID: EC3AA65373CA51DC
  1. 2
      app.go

2
app.go

@ -44,7 +44,7 @@ func main() {
// Kafka consumer init // Kafka consumer init
consumer, err := kafka.NewConsumer(&kafka.ConfigMap{ consumer, err := kafka.NewConsumer(&kafka.ConfigMap{
"bootstrap.servers": utils.GetEnv("KAFKA_ADDRESS", "localhost"), "bootstrap.servers": utils.GetEnv("KAFKA_ADDRESS", "localhost"),
"group.id": "cw2", "group.id": "cw2-offers",
"auto.offset.reset": "latest", "auto.offset.reset": "latest",
}) })
if err != nil { if err != nil {

Loading…
Cancel
Save