Skip to content

Commit 1c123c9

Browse files
committed
Updated Readme.md
1 parent 90dae83 commit 1c123c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This repository demonstrates [CQRS](https://www.confluent.io/blog/event-sourcing
1313
1414
3. If anyone of the above microservice fails, we want to roll back the transaction and roll back updates made to microservices
1515
4. In this repository all of the above operations (except roll back, because it makes application big and complicated to execute) done through EventSourcing or Event Streaming. In simple words we split each transaction in to small operations and then process through multi phase commit.
16-
5. For the sake of simplicity, in this repository you can send customers, orders and greetings events through url and processed in receiver then stored in Kafka State Stores, which then accessed through REST API implemented through Jetty Server (Not MicroServices REST API)
16+
5. For the sake of simplicity, in this repository you can send customers, orders and greetings events through url and processed in listener/receiver then stored in Kafka State Stores, which then accessed through REST API implemented through Jetty Server (Not MicroServices REST API)
1717
```
1818

1919

@@ -26,8 +26,8 @@ This repository demonstrates [CQRS](https://www.confluent.io/blog/event-sourcing
2626
2. Clone this repository and open in IntelliJ or Eclipse as maven project and run `KafkaStreamApplication` class. This will bring up producer class.
2727
3. Go to http://localhost:9021 => Topics=> create topics `customer`, `order` and `order-to-ktable` (if they do not exist)
2828
4. Go to EventsListener class and execute main method to start REST Proxy (Jetty) then access Kafka data through REST API
29-
5. Open http://localhost:8090/orders or http://localhost:8090/customers or http://localhost:8090/sendevents to send kafka events (objects).
30-
6. Go to http://localhost:8095/customer-orders/all to see all customer orders fetched from Kafka State Store. See [StateStore Rest](https://github.com/pavankjadda/KafkaStream-CQRS-EventSourcing/blob/master/src/main/java/com/kafkastream/web/kafkarest/StateStoreRestService.java) Api for possible methods, you can customize it further
29+
5. Open http://localhost:8090/sendevents to send 3 kafka events or send individual events through `http://localhost:8090/orders` or `http://localhost:8090/customers` or `http://localhost:8090/sendevents` to send kafka events (objects).
30+
6. Go to `http://localhost:8095/customer-orders/all` to see all customer orders fetched from Kafka State Store. See [StateStore Rest](https://github.com/pavankjadda/KafkaStream-CQRS-EventSourcing/blob/master/src/main/java/com/kafkastream/web/kafkarest/StateStoreRestService.java) Api for possible methods, you can customize it further
3131
7. Modify [code](https://github.com/pavankjadda/KafkaStream-CQRS-EventSourcing/blob/master/src/main/java/com/kafkastream/web/EventsController.java), if you want to send events with different information.
3232
3333
## Technologies Used

0 commit comments

Comments
 (0)