Req/Res 연동
-
주문 생성 http localhost:8081/orders productId=1 quantity=3 customerId="sunghan.lee@hanwha.com" customerName="Lee" customerAddr="seoul"

-
부하 툴을 사용하여 주문 생성 siege -c2 -t10S -v --content-type "application/json" 'http://localhost:8081/orders POST {"productId":2, "quantity":1}
이벤트 Publish / Subscribe
- order 서비스의 이벤트 Publish http localhost:8081/orders productId=1 productName="MSA Book" qty=3
OrderApplication에서 Run 실행 후 kafka Consumer에서 이벤트 확인

CQRS 패턴에 의한 데이터 통합







