We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d97d4e9 + 470cbbe commit ff2ef5eCopy full SHA for ff2ef5e
kafka/cluster.go
@@ -149,6 +149,9 @@ func (module *Cluster) describeLogDirs() {
149
150
for _, broker := range brokers {
151
go func(b *sarama.Broker) {
152
+ // try to open the connection with broker if not already established
153
+ // ignoring the error as the only possible one at this stage is AlreadyConnected
154
+ _ = b.Open(module.client.Config())
155
res, err := b.DescribeLogDirs(req)
156
resCh <- response{
157
BrokerID: b.ID(),
0 commit comments