https://github.com/daggerok/spring-kafka-services
Event-driven DDD microservices based on spring and kafka with @JsonPath for @ProjectedPayload kafka deserialization
https://github.com/daggerok/spring-kafka-services
h2-database jayway json-path jsonpath kafka spring-boot
Last synced: about 2 months ago
JSON representation
Event-driven DDD microservices based on spring and kafka with @JsonPath for @ProjectedPayload kafka deserialization
- Host: GitHub
- URL: https://github.com/daggerok/spring-kafka-services
- Owner: daggerok
- Created: 2019-04-13T19:11:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-22T21:05:42.000Z (about 7 years ago)
- Last Synced: 2025-01-10T00:41:48.433Z (over 1 year ago)
- Topics: h2-database, jayway, json-path, jsonpath, kafka, spring-boot
- Language: Java
- Homepage:
- Size: 67.4 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# system of systems
Event-driven DDD microservices based on spring and kafka with @JsonPath for @ProjectedPayload kafka deserialization
## infrastructure services
_kafka_
```bash
./mvnw -pl :infrastructure-kafka spring-boot:run
http :8081/actuator/health
```
_h2_
```bash
./mvnw -pl :infrastructure-h2 spring-boot:run
http :8082/actuator/health
```
## application services
_catalog_
```bash
./mvnw -pl :service-catalog spring-boot:run
http :8083/actuator/health
http post :8083/api/v1/products name="iPhone x" qty=4
http get :8083/api/v1/products | jq ".content"
http get ":8083/api/v1/products?size=1&page=0" | jq ".content"
```
_orders_
```bash
./mvnw -pl :service-orders spring-boot:run
http :8084/actuator/health
http :8084/api/v1/product-infos | jq ".content"
```
_resources_
* Inspired by this talk: [YouTube: Refactoring to a System of Systems - Oliver Gierke](https://www.youtube.com/watch?v=VWefNT8Lb74)
* JetBrains IDEA REST [HTTP Client](https://blog.jetbrains.com/phpstorm/2018/04/easier-start-with-the-http-client/)
* [GitHub: odrotbohm/sos](https://github.com/odrotbohm/sos/tree/master/30-messaging-sos)