[
https://issues.apache.org/jira/browse/KAFKA-18602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916299#comment-17916299
]
Aldan Brito commented on KAFKA-18602:
-------------------------------------
hi [~yangpoan] ,
yes you can
> Incorrect FinalizedVersionLevel reported for dynamic KRaft quorum.
> ------------------------------------------------------------------
>
> Key: KAFKA-18602
> URL: https://issues.apache.org/jira/browse/KAFKA-18602
> Project: Kafka
> Issue Type: Bug
> Components: controller, kraft
> Affects Versions: 3.9.0
> Reporter: Aldan Brito
> Priority: Critical
>
> *Environment:*
> * Kafka Version: kafka_2.12-3.9.0
> * Cluster Setup: 3-node KRaft controller quorum
> * Configuration File: {{dynamic.prop}}
> {code:java}
> node.id=1
> controller.quorum.bootstrap.servers=10.76.72.31:9093,10.76.72.32:9093,10.76.72.33:9093
> listeners=CONTROLLER://:9093
> advertised.listeners=CONTROLLER://10.76.72.31:9093
> controller.listener.names=CONTROLLER {code}
>
> h3. Steps to Reproduce
> # Set up a 3-node KRaft controller quorum with the following parameters:
> {{cluster_id="kr_0N6BSTUGeZdoBYBEpTQ"}}
> {{controller_0_uuid="6fK9_aH-QAilLw-TBICXKw"}}
> {{controller_1_uuid="twtzspDcQuOneF5cTtDMjQ"}}
> {{controller_2_uuid="zytzspDcQuOneE5dTtDMjR"}}
> # Format the storage on each controller node:
> kafka-storage.sh format --cluster-id ${cluster_id} --initial-controllers
> "[email protected]:9093:${controller_0_uuid},[email protected]:9093:${controller_1_uuid},[email protected]:9093:${controller_2_uuid}"
> --config config/kraft/dynamic.prop --feature kraft.version=1
> # Start the KRaft controllers.
> # Use the {{kafka-features.sh}} script to verify if the quorum is static or
> dynamic:
> ./bin/kafka-features.sh --bootstrap-controller 10.76.72.31:9093 describe
> h3. Observed Behavior
> The FinalizedVersionLevel for kraft.version is reported as 0, even though the
> established quorum is dynamic:
> {code:java}
> ./bin/kafka-features.sh --bootstrap-controller 10.76.72.31:9093 describe
> Feature: kraft.version SupportedMinVersion: 0 SupportedMaxVersion: 1
> FinalizedVersionLevel: 0 Epoch: 6
> Feature: metadata.version SupportedMinVersion: 3.0-IV1
> SupportedMaxVersion: 3.9-IV0 FinalizedVersionLevel: 3.9-IV0 Epoch: 6 {code}
> * Dynamic quorum operations (e.g., adding/removing controllers) work as
> expected.
> * However, the verification script's output contradicts the expected
> behavior.
> * Reference: [Apache
> Kafka|https://kafka.apache.org/documentation/#static_versus_dynamic_kraft_quorums]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)