kind: Service
metadata:
labels:
- kafka: kafka-1
- name: kafka-1-cluster
+ kafka: kafka-1-cluster
+ name: kafka-1
namespace: kafka
spec:
ports:
- env:
- name: ALLOW_PLAINTEXT_LISTENER
value: "yes"
+ - name: KAFKA_KRAFT_CLUSTER_ID
+ value: aDOok3cnTIGJ8pIaKs5Bxg
- name: KAFKA_BROKER_ID
value: "1"
- name: KAFKA_CFG_ADVERTISED_LISTENERS
kind: Service
metadata:
labels:
- kafka: kafka-1
+ kafka: kafka-1-localhost
name: kafka-1-localhost
namespace: kafka
spec:
kind: Service
metadata:
labels:
- kafka: kafka-2
- name: kafka-2-cluster
+ kafka: kafka-2-cluster
+ name: kafka-2
namespace: kafka
spec:
ports:
- env:
- name: ALLOW_PLAINTEXT_LISTENER
value: "yes"
+ - name: KAFKA_KRAFT_CLUSTER_ID
+ value: aDOok3cnTIGJ8pIaKs5Bxg
- name: KAFKA_BROKER_ID
value: "2"
- name: KAFKA_CFG_ADVERTISED_LISTENERS
kind: Service
metadata:
labels:
- kafka: kafka-2
+ kafka: kafka-2-localhost
name: kafka-2-localhost
namespace: kafka
spec:
kind: Service
metadata:
labels:
- kafka: kafka-3
- name: kafka-3-cluster
+ kafka: kafka-3-cluster
+ name: kafka-3
namespace: kafka
spec:
ports:
- env:
- name: ALLOW_PLAINTEXT_LISTENER
value: "yes"
+ - name: KAFKA_KRAFT_CLUSTER_ID
+ value: aDOok3cnTIGJ8pIaKs5Bxg
- name: KAFKA_BROKER_ID
value: "3"
- name: KAFKA_CFG_ADVERTISED_LISTENERS
kind: Service
metadata:
labels:
- kafka: kafka-3
+ kafka: kafka-3-localhost
name: kafka-3-localhost
namespace: kafka
spec:
kind: Service
metadata:
labels:
- kafka: kafka-4
- name: kafka-4-cluster
+ kafka: kafka-4-cluster
+ name: kafka-4
namespace: kafka
spec:
ports:
- env:
- name: ALLOW_PLAINTEXT_LISTENER
value: "yes"
+ - name: KAFKA_KRAFT_CLUSTER_ID
+ value: aDOok3cnTIGJ8pIaKs5Bxg
- name: KAFKA_BROKER_ID
value: "4"
- name: KAFKA_CFG_ADVERTISED_LISTENERS
kind: Service
metadata:
labels:
- kafka: kafka-4
+ kafka: kafka-4-localhost
name: kafka-4-localhost
namespace: kafka
spec:
kind: Service
metadata:
labels:
- kafka: kafka-5
- name: kafka-5-cluster
+ kafka: kafka-5-cluster
+ name: kafka-5
namespace: kafka
spec:
ports:
- env:
- name: ALLOW_PLAINTEXT_LISTENER
value: "yes"
+ - name: KAFKA_KRAFT_CLUSTER_ID
+ value: aDOok3cnTIGJ8pIaKs5Bxg
- name: KAFKA_BROKER_ID
value: "5"
- name: KAFKA_CFG_ADVERTISED_LISTENERS
kind: Service
metadata:
labels:
- kafka: kafka-5
+ kafka: kafka-5-localhost
name: kafka-5-localhost
namespace: kafka
spec: