Browse Source

Kafka is working

Fred Damstra (Macbook 2015) 2 years ago
parent
commit
d6c9da759c
2 changed files with 13 additions and 10 deletions
  1. 11 8
      Workloads/kafka/2.kafka-persistent.yaml
  2. 2 2
      Workloads/kafka/readme.md

+ 11 - 8
Workloads/kafka/2.kafka-persistent.yaml

@@ -17,15 +17,18 @@ spec:
       - name: external
         type: loadbalancer
         tls: false
-        port: 9094
-      - name: plain
         port: 9092
-        type: internal
-        tls: false
-      - name: tls
-        port: 9093
-        type: internal
-        tls: true
+        configuration:
+          bootstrap:
+            loadBalancerIP: 10.42.42.238
+#      - name: plain
+#        port: 9092
+#        type: internal
+#        tls: false
+#      - name: tls
+#        port: 9093
+#        type: internal
+#        tls: true
     config:
       offsets.topic.replication.factor: 3
       transaction.state.log.replication.factor: 3

+ 2 - 2
Workloads/kafka/readme.md

@@ -49,8 +49,8 @@ Set up the external listener. Looks like this is smart and sets up multiples. Se
 
 ```
 # Terminal 1: (kcat on mac)
-kafkacat -b 10.42.42.34:9094 -t new_topic -P -l /var/log/message
+kafkacat -b 10.42.42.34:9092 -t new_topic -P -l /var/log/message
 # Terminal 2:
-kafkacat -b 10.42.42.34:9094 -t new_topic -C
+kafkacat -b 10.42.42.34:9092 -t new_topic -C