fixup panic

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-12-05 09:53:40 +03:00
parent 90365a455c
commit d5f2df31e0

5
kgo.go
View File

@ -460,7 +460,8 @@ func NewBroker(opts ...broker.Option) *Broker {
}
return &Broker{
opts: options,
kopts: kopts,
connected: &atomic.Uint32{},
opts: options,
kopts: kopts,
}
}