From d2a565cf3f17ecc3d065f8b406b7320ae9305f93 Mon Sep 17 00:00:00 2001 From: Piotr Jaszczyk Date: Thu, 20 Dec 2018 11:32:18 +0100 Subject: Specify Kafka servers using startup config Instead of specifying KafkaBootstrap servers by means of Consul configuration use command line options / environment. DMaaP MR endpoint should not be changed frequently so keeping this in runtime configuration (refreshed during application runtime) won't make much sense. This will also clean up internal HV-VES architecture. Change-Id: I89e8101cd0591b3f74df53be9114b1a0d5fbb905 Issue-ID: DCAEGEN2-1047 Signed-off-by: Piotr Jaszczyk --- blueprints/k8s-hv-ves.yaml-template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blueprints/k8s-hv-ves.yaml-template b/blueprints/k8s-hv-ves.yaml-template index fec97eb..607238f 100644 --- a/blueprints/k8s-hv-ves.yaml-template +++ b/blueprints/k8s-hv-ves.yaml-template @@ -76,10 +76,11 @@ node_templates: { concat: [ { get_input: container_port }, '' ] } VESHV_HEALTH_CHECK_API_PORT: { concat: [ { get_input: healthcheck_port }, '' ] } + VESHV_KAFKA_BOOTSTRAP_SERVERS: + { get_input: kafka_bootstrap_servers } VESHV_SSL_DISABLE: '' properties: application_config: - dmaap.kafkaBootstrapServers: { get_input: kafka_bootstrap_servers } collector.routing: - fromDomain: { get_input: perf3gpp_domain } toTopic: { get_input: perf3gpp_kafka_topic } -- cgit 1.2.3-korg