You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by sh...@apache.org on 2024/02/16 10:58:39 UTC

(kafka) 01/02: KAFKA-15670: add "inter.broker.listener.name" config in KRaft controller config (#14631)

This is an automated email from the ASF dual-hosted git repository.

showuon pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 24cf78bd7107684791e61283a52eb702a7df6b7e
Author: Luke Chen <sh...@gmail.com>
AuthorDate: Fri Feb 16 18:56:06 2024 +0800

    KAFKA-15670: add "inter.broker.listener.name" config in KRaft controller config (#14631)
    
    During ZK migrating to KRaft, before entering dual-write mode, the KRaft controller will send RPCs (i.e. UpdateMetadataRequest, LeaderAndIsrRequest, and StopReplicaRequest) to the brokers. Currently, we use the inter broker listener to send the RPC to brokers from the controller. But in the doc, we didn't provide this info to users because the normal KRaft controller won't use inter.broker.listener.names.
    
    This PR adds the missing config in the ZK migrating to KRaft doc.
    
    Reviewers: Mickael Maison <mi...@gmail.com>, Paolo Patierno <pp...@live.com>
---
 docs/ops.html | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/ops.html b/docs/ops.html
index 8cb65549db6..563c2a65000 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -3869,6 +3869,9 @@ zookeeper.metadata.migration.enable=true
 # ZooKeeper client configuration
 zookeeper.connect=localhost:2181
 
+# The inter broker listener in brokers to allow KRaft controller send RPCs to brokers
+inter.broker.listener.name=PLAINTEXT
+
 # Other configs ...</pre>
 
   <p><em>Note: The KRaft cluster <code>node.id</code> values must be different from any existing ZK broker <code>broker.id</code>.