Kafka image changes
[oom.git] / kubernetes / dmaap / charts / message-router / charts / message-router-kafka / templates / deployment.yaml
index 5f8b8bb..ee695f9 100644 (file)
@@ -85,16 +85,14 @@ spec:
         env:
         - name: KAFKA_ZOOKEEPER_CONNECT
           value: "{{.Values.zookeeper.name}}:{{.Values.zookeeper.port}}"
-        - name: KAFKA_ADVERTISED_HOST_NAME
-          value: "{{ include "common.servicename" .  }}"
-        - name: KAFKA_BROKER_ID
-          value: "0"
+        - name: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP
+          value: "INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT"
         - name: KAFKA_ADVERTISED_LISTENERS
-          value: PLAINTEXT://{{ include "common.name" .  }}:{{.Values.service.internalPort}}
-        - name: KAFKA_ADVERTISED_PORT
-          value: "{{.Values.service.internalPort}}"
-        - name: KAFKA_PORT
-          value: "{{.Values.service.internalPort}}"
+          value: "INTERNAL_PLAINTEXT://{{ include "common.servicename" .  }}:{{.Values.service.internalPort}}"
+        - name: KAFKA_LISTENERS
+          value: "INTERNAL_PLAINTEXT://0.0.0.0:{{.Values.service.internalPort}}"
+        - name: KAFKA_INTER_BROKER_LISTENER_NAME
+          value: "INTERNAL_PLAINTEXT"
         volumeMounts:
         - mountPath: /etc/localtime
           name: localtime