From: Piotr Jaszczyk Date: Thu, 20 Dec 2018 10:32:18 +0000 (+0100) Subject: Specify Kafka servers using startup config X-Git-Tag: 4.0.0-ONAP~21 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d2a565cf3f17ecc3d065f8b406b7320ae9305f93;p=dcaegen2%2Fplatform%2Fblueprints.git 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 --- 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 }