Skip to content

Commit

Permalink
fix: batch byte size limit default config error
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmtszr committed Dec 26, 2023
1 parent a96c749 commit 12b1dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (c *Connector) ApplyDefaults() {
c.Kafka.ProducerBatchSize = 2000
}

if c.Kafka.ProducerBatchBytes == 0 {
if c.Kafka.ProducerBatchBytes == nil {
c.Kafka.ProducerBatchBytes = helpers.ResolveUnionIntOrStringValue("10mb")
}

Expand Down

0 comments on commit 12b1dd5

Please sign in to comment.