Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f4f8793686 | |||
ec4922ad8b |
6
kgo.go
6
kgo.go
@@ -142,11 +142,9 @@ func (k *Broker) connect(ctx context.Context, opts ...kgo.Opt) (*kgo.Client, *ho
|
|||||||
}
|
}
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
k.connected.Store(1)
|
||||||
|
return c, htracer, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
k.connected.Store(1)
|
|
||||||
|
|
||||||
return c, htracer, nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (k *Broker) Connect(ctx context.Context) error {
|
func (k *Broker) Connect(ctx context.Context) error {
|
||||||
|
Reference in New Issue
Block a user