set UnknownTopicRetries with 0
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
c1fa2f639d
commit
ea2ac477be
1
kgo.go
1
kgo.go
@ -443,6 +443,7 @@ func NewBroker(opts ...broker.Option) *Broker {
|
|||||||
kgo.BlockRebalanceOnPoll(),
|
kgo.BlockRebalanceOnPoll(),
|
||||||
kgo.Balancers(kgo.CooperativeStickyBalancer()),
|
kgo.Balancers(kgo.CooperativeStickyBalancer()),
|
||||||
kgo.FetchIsolationLevel(kgo.ReadUncommitted()),
|
kgo.FetchIsolationLevel(kgo.ReadUncommitted()),
|
||||||
|
kgo.UnknownTopicRetries(0),
|
||||||
}
|
}
|
||||||
|
|
||||||
if options.Context != nil {
|
if options.Context != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user