slaventius 2 years ago
parent ed68c779cf
commit 062fe41934
  1. 1
      internal/transport/kafka/writer.go

@ -97,6 +97,7 @@ func NewWriter(ctx context.Context, logger *logger.Logger, topic string, address
writer: &kafka.Writer{
Topic: topic,
Balancer: &kafka.LeastBytes{},
// Balancer: &kafka.Murmur2Balancer{},
WriteBackoffMax: time.Millisecond * 100,
BatchTimeout: time.Millisecond * 100,
Addr: kafka.TCP(address...),

Loading…
Cancel
Save