From dfd0a0885eddd787a4a7af1614759bf2b51509c5 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 13:01:01 +0100 Subject: [PATCH] Update input-kafka.asciidoc to indicate required version for Kafka 4.0 (#41540) (#41674) 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 ee0cd7842a4..69e39afa0ff 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 9907cad61c2..286b894e584 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`.