From c4830b46ab7d8752771389fef8e7f7cecd2ab8df Mon Sep 17 00:00:00 2001 From: James Adams Date: Thu, 28 Nov 2024 15:36:20 +0000 Subject: [PATCH] ncm-metaconfig: kafka: Fix wrapping and indentation in pan --- .../metaconfig/kafka/tests/profiles/config.pan | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/ncm-metaconfig/src/main/metaconfig/kafka/tests/profiles/config.pan b/ncm-metaconfig/src/main/metaconfig/kafka/tests/profiles/config.pan index 1f0beb8704..6d57c482a8 100644 --- a/ncm-metaconfig/src/main/metaconfig/kafka/tests/profiles/config.pan +++ b/ncm-metaconfig/src/main/metaconfig/kafka/tests/profiles/config.pan @@ -18,17 +18,20 @@ variable KAFKA_ZOOKEEPER_SERVERS = "zk1.cluster.log,zk2.cluster.log"; variable KAFKA_INTERNAL_LISTENER ?= format("INTERNAL://%s.%s.log:%d", HOSTNAME, CLUSTER_NAME, - KAFKA_INTERNAL_LISTENING_PORT); + KAFKA_INTERNAL_LISTENING_PORT, +); variable KAFKA_EXTERNAL_LISTENER ?= format("EXTERNAL://%s.%s.os:%d", HOSTNAME, CLUSTER_NAME, - KAFKA_EXTERNAL_LISTENING_PORT); + KAFKA_EXTERNAL_LISTENING_PORT, +); variable KAFKA_EXTERNAL_LOG_LISTENER ?= format("EXTERNAL_LOG://%s.%s.log:%d", HOSTNAME, CLUSTER_NAME, - KAFKA_EXTERNAL_LOG_LISTENING_PORT); + KAFKA_EXTERNAL_LOG_LISTENING_PORT, +); # the kafka service.properties prefix "/software/components/metaconfig/services/{/etc/kafka/server.properties}/contents"; @@ -36,16 +39,18 @@ prefix "/software/components/metaconfig/services/{/etc/kafka/server.properties}/ "advertised.listeners" = format("%s,%s,%s", KAFKA_INTERNAL_LISTENER, KAFKA_EXTERNAL_LISTENER, - KAFKA_EXTERNAL_LOG_LISTENER); + KAFKA_EXTERNAL_LOG_LISTENER, +); "broker.id" = KAFKA_BROKER_ID; "listeners" = format("%s,%s,%s", KAFKA_INTERNAL_LISTENER, KAFKA_EXTERNAL_LISTENER, - KAFKA_EXTERNAL_LOG_LISTENER); + KAFKA_EXTERNAL_LOG_LISTENER, +); "listener.security.protocol.map" = format("EXTERNAL:%s,INTERNAL:%s,EXTERNAL_LOG:%s", KAFKA_INTERNAL_LISTENING_PROTOCOL, KAFKA_EXTERNAL_LISTENING_PROTOCOL, - KAFKA_EXTERNAL_LOG_LISTENING_PROTOCOL + KAFKA_EXTERNAL_LOG_LISTENING_PROTOCOL, ); "inter.broker.listener.name" = "INTERNAL"; "zookeeper.connect" = KAFKA_ZOOKEEPER_SERVERS;