tails5555 / kotlin-kafka

Spring Boot + Kotlin + Kafka 실습

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot with Kafka

  • Inventory : 재고 물품을 보관하는 창고 관리 모듈
  • Order : 상품을 주문하기 위한 모듈
  • Gateway : 재고, 상품 서비스를 한 번에 접속하기 위한 게이트웨이.
    • 설정만 구현하면 되지만, 실제로 이를 어떻게 작동하는지 파악하는게 관건인 거 같다.

Reference

실행 방법

  • Kafka 를 다운 받아, Zookeeper -> Kafka 순으로 실행한다.
  • Inventory, Order 모듈의 ~~~ Application.kt 로 실행
  • Gateway ~~~ Application.kt 실행
  • 각 주소는 localhost:8080/order/data 및 localhost:8080/inventory/data (GET/POST) 로 되어 있음.

About

Spring Boot + Kotlin + Kafka 실습


Languages

Language:Kotlin 100.0%