Skip to content

Commit 4da035b

Browse files
authored
fix(kafka): Fixes writer initialization for arm32 (#14115)
1 parent 8307c42 commit 4da035b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kafka/writer_client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func NewWriterClient(kafkaCfg Config, maxInflightProduceRequests int, logger log
6868
// When a Produce request to Kafka fail, the client will retry up until the RecordDeliveryTimeout is reached.
6969
// Once the timeout is reached, the Produce request will fail and all other buffered requests in the client
7070
// (for the same partition) will fail too. See kgo.RecordDeliveryTimeout() documentation for more info.
71-
kgo.RecordRetries(math.MaxInt64),
71+
kgo.RecordRetries(math.MaxInt),
7272
kgo.RecordDeliveryTimeout(kafkaCfg.WriteTimeout),
7373
kgo.ProduceRequestTimeout(kafkaCfg.WriteTimeout),
7474
kgo.RequestTimeoutOverhead(writerRequestTimeoutOverhead),

0 commit comments

Comments
 (0)