Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncm-metaconfig: kafka: Fix wrapping and indentation in pan #1798

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions ncm-metaconfig/src/main/metaconfig/kafka/tests/profiles/config.pan
Original file line number Diff line number Diff line change
Expand Up @@ -18,34 +18,39 @@ 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";

"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;
Expand Down
Loading