Skip to content

Commit

Permalink
Remove async option
Browse files Browse the repository at this point in the history
  • Loading branch information
sedkis committed Sep 8, 2023
1 parent d83714c commit d9aaefd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pumps/kafka.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ func (k *KafkaPump) Init(config interface{}) error {
k.writerConfig.BatchBytes = k.kafkaConf.BatchBytes // 100 MB
k.writerConfig.BatchSize = k.kafkaConf.BatchSize //100K
k.writerConfig.BatchTimeout = time.Duration(k.kafkaConf.BatchTimeout) // every second
k.writerConfig.Async = true

if k.kafkaConf.Compressed {
k.writerConfig.CompressionCodec = snappy.NewCompressionCodec()
Expand Down

0 comments on commit d9aaefd

Please sign in to comment.