You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ For the tutorials check the links below,
9
9
10
10
## How to run
11
11
12
-
First start the docker-compose which contains ZooKeeper, Kafka, and Kafdrop.
12
+
First start the docker-compose which contains ZooKeeper, Kafka, Kafdrop, and MySQL.
13
13
14
14
```bash
15
15
$ docker-compose -f docker-compose.yml up -d
@@ -23,7 +23,13 @@ $ ./mvnw spring-boot:run
23
23
24
24
Open the browser `localhost:8080/apidocs`.
25
25
26
-
You can interact with the `random`api to create a random user which then will be sent to Kafka and consumed by the consumer (see [`consumer/UserKafkaListener.java`](https://github.com/kasramp/spring-kafka-test/blob/master/src/main/java/com/madadipouya/springkafkatest/consumer/UserKafkaListener.java) file).
26
+
You can interact with the `random`API to create a random user which then will be sent to Kafka and consumed by the consumer (see [`consumer/UserKafkaListener.java`](https://github.com/kasramp/spring-kafka-test/blob/master/src/main/java/com/madadipouya/springkafkatest/consumer/UserKafkaListener.java) file) and finally saves into the database.
27
27
28
28
To see whether the message has been sent to Kafka, open your browser `http://localhost:8085/topic/com.madadipouya.kafka.use` (Kafdrop environment),
29
-
you should be able to see all messages that sent to `kafka.user` topic.
29
+
you should be able to see all messages that sent to `kafka.user` topic.
0 commit comments