From ab6334fad15f9d1d768c49bd87d1e488b964f5f9 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sun, 19 Jan 2020 01:16:36 +0000 Subject: [PATCH] Add broker comments on server subscribe --- grpc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/grpc.go b/grpc.go index 08c771e..b039c02 100644 --- a/grpc.go +++ b/grpc.go @@ -653,6 +653,7 @@ func (g *grpcServer) Register() error { opts = append(opts, broker.DisableAutoAck()) } + log.Logf("Broker [%s] Subscribing to topic: %s", config.Broker.String(), sb.Topic()) sub, err := config.Broker.Subscribe(sb.Topic(), handler, opts...) if err != nil { return err