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]} +``` +

---