Skip to content

Commit

Permalink
fix(kafka): Fixes writer initialization for arm32 (#14115)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyriltovena authored Sep 11, 2024
1 parent 8307c42 commit 4da035b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kafka/writer_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func NewWriterClient(kafkaCfg Config, maxInflightProduceRequests int, logger log
// When a Produce request to Kafka fail, the client will retry up until the RecordDeliveryTimeout is reached.
// Once the timeout is reached, the Produce request will fail and all other buffered requests in the client
// (for the same partition) will fail too. See kgo.RecordDeliveryTimeout() documentation for more info.
kgo.RecordRetries(math.MaxInt64),
kgo.RecordRetries(math.MaxInt),
kgo.RecordDeliveryTimeout(kafkaCfg.WriteTimeout),
kgo.ProduceRequestTimeout(kafkaCfg.WriteTimeout),
kgo.RequestTimeoutOverhead(writerRequestTimeoutOverhead),
Expand Down

0 comments on commit 4da035b

Please sign in to comment.