Upd
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
# [Amigoscode, Nelson] Microservices and Distributed Systems [ENG, 2022] Kafka Part
 | 
			
		||||
# [Amigoscode, Nelson] Microservices and Distributed Systems [ENG, 2022]
 | 
			
		||||
 | 
			
		||||
<br/>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,17 @@
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<br/>
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
// Receive a Message
 | 
			
		||||
$ kafka-console-consumer.sh \
 | 
			
		||||
    --bootstrap-server localhost:9092 \
 | 
			
		||||
    --topic amigoscode \
 | 
			
		||||
    --from-beginning
 | 
			
		||||
 | 
			
		||||
^C
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
<br/>
 | 
			
		||||
 | 
			
		||||
@@ -31,6 +42,24 @@ $ curl \
 | 
			
		||||
    | jq
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
<br/>
 | 
			
		||||
 | 
			
		||||
**But something not working! Looks with Data Format on Reading from Kafka**
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<br/>
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
$ 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]}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
<br/><br/>
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user