- Started Controller
- Started Broker
- Produced Messages
- Consumed Messages
- Learned Partitions
- Multiple Partitions
- Consumer Groups
+------------------+
| User Service |
+------------------+
|
| Publish UserRegisteredEvent
V
+------------------+
| Kafka |
| user-registered |
+------------------+
|
| Consume Event
V
+----------------------+
| Notification Service |
+----------------------+
|
V
Send Welcome Email
- Order send successfully - Message
- Welcome Email to + order
- Created Topic Orders
Client | V Order Service | V Kafka Topic : orders | V Payment Service | V Kafka Topic : payments | V Notification Service
bin\windows\kafka-topics.bat --create --topic payments --bootstrap-server localhost:9092 --partitions 3 --replication-factor 1
--> Created topic payments.
PS C:\kafka> bin\windows\kafka-topics.bat --list --bootstrap-server localhost:9092 --> order-created orders payments