aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-distribution-ci/src/test/java/org/onap/test/core/service/CustomKafkaContainer.java
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-distribution-ci/src/test/java/org/onap/test/core/service/CustomKafkaContainer.java')
-rw-r--r--sdc-distribution-ci/src/test/java/org/onap/test/core/service/CustomKafkaContainer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdc-distribution-ci/src/test/java/org/onap/test/core/service/CustomKafkaContainer.java b/sdc-distribution-ci/src/test/java/org/onap/test/core/service/CustomKafkaContainer.java
index e2eabc1..8de8949 100644
--- a/sdc-distribution-ci/src/test/java/org/onap/test/core/service/CustomKafkaContainer.java
+++ b/sdc-distribution-ci/src/test/java/org/onap/test/core/service/CustomKafkaContainer.java
@@ -33,6 +33,7 @@ public class CustomKafkaContainer extends FixedHostPortGenericContainer<CustomKa
this.externalZookeeperConnect = null;
this.withExposedPorts(9093);
this.withEnv("KAFKA_LISTENERS", "PLAINTEXT://0.0.0.0:9093,BROKER://0.0.0.0:9092");
+ this.withEnv("KAFKA_ADVERTISED_LISTENERS", "SSL");
this.withEnv("KAFKA_LISTENER_SECURITY_PROTOCOL_MAP", "BROKER:PLAINTEXT,PLAINTEXT:PLAINTEXT");
this.withEnv("KAFKA_INTER_BROKER_LISTENER_NAME", "BROKER");
this.withEnv("KAFKA_BROKER_ID", "1");