fixup connected status
All checks were successful
test / test (push) Successful in 2m25s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2025-03-07 11:45:36 +03:00
parent ec4922ad8b
commit f4f8793686

3
kgo.go
View File

@ -143,9 +143,8 @@ 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
}
return c, htracer, nil
}
func (k *Broker) Connect(ctx context.Context) error {