fix compilation
This commit is contained in:
@@ -23,10 +23,6 @@ func NewMessagingClient(bootstrapBrokers []string) (*MessagingClient, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
util.OnInterrupt(func() {
|
|
||||||
grpcConnection.Close()
|
|
||||||
})
|
|
||||||
|
|
||||||
return &MessagingClient{
|
return &MessagingClient{
|
||||||
bootstrapBrokers: bootstrapBrokers,
|
bootstrapBrokers: bootstrapBrokers,
|
||||||
grpcConnection: grpcConnection,
|
grpcConnection: grpcConnection,
|
||||||
|
|||||||
Reference in New Issue
Block a user