feat: support elasticsearch notification endpoint compression codec (#18562)

This commit is contained in:
jiuker
2023-11-30 16:25:03 +08:00
committed by GitHub
parent 0ee722f8c3
commit 34187e047d
5 changed files with 114 additions and 47 deletions

View File

@@ -262,6 +262,18 @@ var (
Optional: true,
Type: "sentence",
},
config.HelpKV{
Key: target.KafkaCompressionCodec,
Description: "specify compression_codec of the Kafka cluster",
Optional: true,
Type: "none|snappy|gzip|lz4|zstd",
},
config.HelpKV{
Key: target.KafkaCompressionLevel,
Description: "specify compression level of the Kafka cluster",
Optional: true,
Type: "number",
},
}
HelpMQTT = config.HelpKVS{