Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
@@ -143,10 +143,9 @@ func (k *Broker) connect(ctx context.Context, opts ...kgo.Opt) (*kgo.Client, *ho
return nil, nil, err
}
k.connected.Store(1)
return c, htracer, nil
func (k *Broker) Connect(ctx context.Context) error {
if k.connected.Load() == 1 {
The note is not visible to the blocked user.