Skip to content

Commit

Permalink
add more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
weiye.gong committed Sep 23, 2024
1 parent 543a348 commit f055b75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libbeat/outputs/kafka/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f055b75

Please sign in to comment.