From aed0f065871239057dfb558b3406b4e3824225b4 Mon Sep 17 00:00:00 2001 From: webmak1 Date: Sat, 9 Apr 2022 23:17:10 +0300 Subject: [PATCH] Upd --- Readme.md | 2 +- docs/Development.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index c86c508..f08bb23 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -# [Amigoscode, Nelson] Microservices and Distributed Systems [ENG, 2022] Kafka Part +# [Amigoscode, Nelson] Microservices and Distributed Systems [ENG, 2022]
diff --git a/docs/Development.md b/docs/Development.md index 8b1d3b4..2af3ede 100644 --- a/docs/Development.md +++ b/docs/Development.md @@ -16,6 +16,17 @@ ![Application](/img/pic02.png?raw=true) +
+ +``` +// Receive a Message +$ kafka-console-consumer.sh \ + --bootstrap-server localhost:9092 \ + --topic amigoscode \ + --from-beginning + +^C +```
@@ -31,6 +42,24 @@ $ curl \ | jq ``` +
+ +**But something not working! Looks with Data Format on Reading from Kafka** + + +
+ +``` +$ kafka-console-consumer.sh \ +> --bootstrap-server localhost:9092 \ +> --topic amigoscode \ +> --from-beginning +{"message":"Hooray Amigoscode","created":[2022,4,9,21,20,9,460259917]} +{"message":"Hooray Amigoscode","created":[2022,4,9,21,22,22,43521562]} +{"message":"Hooray Amigoscode","created":[2022,4,9,21,22,33,600139003]} +{"message":"Hooray Amigoscode","created":[2022,4,9,21,22,41,357558500]} +``` +

---