From df97534e5af7097549c8521a1e5eb1feb07a8c5c Mon Sep 17 00:00:00 2001 From: William Easton Date: Mon, 18 Nov 2024 17:45:43 -0600 Subject: [PATCH] Update input-kafka.asciidoc to indicate required version for Kafka 4.0 (#41540) Update input-kafka.asciidoc to indicate required version for Kafka 4.0 --- filebeat/docs/inputs/input-kafka.asciidoc | 2 +- libbeat/outputs/kafka/docs/kafka.asciidoc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/filebeat/docs/inputs/input-kafka.asciidoc b/filebeat/docs/inputs/input-kafka.asciidoc index ee0cd7842a46..69e39afa0ff7 100644 --- a/filebeat/docs/inputs/input-kafka.asciidoc +++ b/filebeat/docs/inputs/input-kafka.asciidoc @@ -89,7 +89,7 @@ The Kafka client id (optional). [float] ===== `version` -The version of the Kafka protocol to use (defaults to `"1.0.0"`). +The version of the Kafka protocol to use (defaults to `"1.0.0"`). When using Kafka 4.0 and newer, the version must be set to at least `"2.1.0"`. [float] ===== `initial_offset` diff --git a/libbeat/outputs/kafka/docs/kafka.asciidoc b/libbeat/outputs/kafka/docs/kafka.asciidoc index 9907cad61c29..286b894e584d 100644 --- a/libbeat/outputs/kafka/docs/kafka.asciidoc +++ b/libbeat/outputs/kafka/docs/kafka.asciidoc @@ -44,7 +44,7 @@ endif::[] ==== Compatibility This output can connect to Kafka version 0.8.2.0 and later. Older versions -might work as well, but are not supported. +might work as well, but are not supported. When using Kafka 4.0 and newer, the version must be set to at least `"2.1.0"` ==== Configuration options @@ -69,7 +69,7 @@ The cluster metadata contain the actual Kafka brokers events are published to. ===== `version` -Kafka protocol version that {beatname_uc} will request when connecting. Defaults to 1.0.0. +Kafka protocol version that {beatname_uc} will request when connecting. Defaults to 1.0.0. When using Kafka 4.0 and newer, the version must be set to at least `"2.1.0"` Valid values are all kafka releases in between `0.8.2.0` and `2.6.0`.