mirror of
https://github.com/pgsty/minio.git
synced 2026-07-30 01:16:15 +03:00
feat: support elasticsearch notification endpoint compression codec (#18562)
This commit is contained in:
@@ -95,6 +95,14 @@ func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error {
|
||||
Key: target.KafkaSASLPassword,
|
||||
Value: cfg.SASL.Password,
|
||||
},
|
||||
config.KV{
|
||||
Key: target.KafkaCompressionCodec,
|
||||
Value: cfg.Producer.Compression,
|
||||
},
|
||||
config.KV{
|
||||
Key: target.KafkaCompressionLevel,
|
||||
Value: strconv.Itoa(cfg.Producer.CompressionLevel),
|
||||
},
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user