瀏覽代碼

Notes on final kafka test

Fred Damstra (Macbook 2015) 2 年之前
父節點
當前提交
3cff0c5662
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      Workloads/kafka/readme.md

+ 10 - 0
Workloads/kafka/readme.md

@@ -19,6 +19,7 @@ kubectl wait kafka/mbox-cluster --for=condition=Ready --timeout=300s -n kafka
 It didn't start. :(
 
 Memory limits?
+
 ```
           resources:
             limits:
@@ -32,6 +33,7 @@ Memory limits?
 That probably wasn't it.
 
 Instead, I had to modify the end part:
+
 ```
   entityOperator:
     topicOperator: {}
@@ -52,5 +54,13 @@ Set up the external listener. Looks like this is smart and sets up multiples. Se
 kafkacat -b 10.42.42.34:9092 -t new_topic -P -l /var/log/message
 # Terminal 2:
 kafkacat -b 10.42.42.34:9092 -t new_topic -C
+```
 
+Final test:
 
+```
+# from mac:
+echo "Hello World" | kcat -P -b kafka.home.monkeybox.org:9092 -t test_topic
+# from linux
+kafkacat -C -b kafka.home.monkeybox.org:9092 -t test_topic
+```