From f055b758e0bcc7075e3f77cb005faf35440f2ce7 Mon Sep 17 00:00:00 2001 From: "weiye.gong" Date: Mon, 23 Sep 2024 10:20:32 +0800 Subject: [PATCH] add more comments --- libbeat/outputs/kafka/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libbeat/outputs/kafka/config.go b/libbeat/outputs/kafka/config.go index 58cfc38d5f72..c7dc74ee9934 100644 --- a/libbeat/outputs/kafka/config.go +++ b/libbeat/outputs/kafka/config.go @@ -100,6 +100,11 @@ var compressionModes = map[string]sarama.CompressionCodec{ // As of sarama 1.24.1, zstd support is broken // (https://github.com/Shopify/sarama/issues/1252), which needs to be // addressed before we add support here. + + // (https://github.com/IBM/sarama/pull/1574) sarama version 1.26.0 has + // fixed this issue and elastic version of sarama has merged this commit. + // (https://github.com/elastic/sarama/commit/37faed7ffc7d59e681d99cfebd1f3d453d6d607c) + "none": sarama.CompressionNone, "no": sarama.CompressionNone, "off": sarama.CompressionNone,