You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by cm...@apache.org on 2021/07/19 19:38:03 UTC
[kafka] branch 3.0 updated: MINOR: log static broker configs in
KRaft mode (#11067)
This is an automated email from the ASF dual-hosted git repository.
cmccabe pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 2e6708c MINOR: log static broker configs in KRaft mode (#11067)
2e6708c is described below
commit 2e6708c59ab608aa5b382a90779f02f51ad6636a
Author: Colin Patrick McCabe <cm...@confluent.io>
AuthorDate: Mon Jul 19 12:34:42 2021 -0700
MINOR: log static broker configs in KRaft mode (#11067)
Reviewers: Ismael Juma <is...@juma.me.uk>
---
core/src/main/scala/kafka/server/BrokerServer.scala | 3 +++
1 file changed, 3 insertions(+)
diff --git a/core/src/main/scala/kafka/server/BrokerServer.scala b/core/src/main/scala/kafka/server/BrokerServer.scala
index 21f90b1..fd1094b 100644
--- a/core/src/main/scala/kafka/server/BrokerServer.scala
+++ b/core/src/main/scala/kafka/server/BrokerServer.scala
@@ -389,6 +389,9 @@ class BrokerServer(
// a potentially lengthy recovery-from-unclean-shutdown operation here, if required.
metadataListener.startPublishing(metadataPublisher).get()
+ // Log static broker configurations.
+ new KafkaConfig(config.originals(), true)
+
// Enable inbound TCP connections.
socketServer.startProcessingRequests(authorizerFutures)