chore: Use Kafka round-robin balancer for index-builder (#19574)

pull/19578/head
benclive 3 months ago committed by GitHub
parent f46ef0eb7c
commit ea2b4d0f84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pkg/dataobj/index/builder.go

@ -176,6 +176,7 @@ func NewIndexBuilder(
kgo.InstanceID(instanceID),
kgo.SessionTimeout(3*time.Minute),
kgo.ConsumerGroup(indexConsumerGroup),
kgo.Balancers(kgo.RoundRobinBalancer()),
kgo.RebalanceTimeout(5*time.Minute),
kgo.DisableAutoCommit(),
kgo.OnPartitionsRevoked(s.handlePartitionsRevoked),

Loading…
Cancel
Save