Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 3.45 KB

architecture.md

File metadata and controls

48 lines (40 loc) · 3.45 KB

Architecture

Services

Official Name Directory Name Application Name Host Port
Accounting Service ftgo-accounting-service ftgo-accounting-service localhost 8081
Consumer Service ftgo-consumer-service ftgo-consumer-service localhost 8082
Delivery Service ftgo-delivery-service ftgo-delivery-service localhost 8083
[Kitchen Service(services/kitchen_service.md) ftgo-kitchen-service ftgo-kitchen-service localhost 8084
Order History Service ftgo-order-history-service ftgo-order-history-service localhost 8085
Order Service ftgo-order-service ftgo-order-service localhost 8086
Restaurant Service ftgo-restaurant-service ftgo-restaurant-service localhost 8087

API Gateway

Official Name Directory Name Application Name Host Port
API Gateway ftgo-api-gateway ftgo-api-gateway localhost 8080

CDC Service

Official Name Directory Name Application Name Host Port
Eventuate CDC Service eventuate-cdc-service eventuate-cdc-service localhost 8090

Message Queue

Application Host Port Version
Apache ZooKeeper localhost 2181 3.4.14
Apache Kafka localhost 9092 2.2.0

Topic

Topic Name Message Type Producer Consumer Description
accountingService Command
  • Order Service
  • Accounting Service Accounting Service's incoming command channel.
    consumerService Command
  • Order Service
  • Consumer Service Consumer Service's incoming command channel.
    kitchenService Command
  • Order Service
  • Kitchen Service Kitchen Service's incoming command channel.
    orderService Command
  • Order Service
  • Order Service Order Service's incoming command channel.
    com.ftgo.accountingservice.model.Account Event Accounting Service Account aggregate's event channel.
    com.ftgo.consumerservice.model.Consumer Event Consumer Service
  • Accounting Service
  • Consumer aggregate's event channel.
    com.ftgo.orderservice.model.Order Event Order Service
  • Delivery Service
  • Order History Service
  • Order aggregate's event channel.
    com.ftgo.restaurantservice.model.Restaurant Event Restaurant Service
  • Order Service
  • Kitchen Service
  • Delivery Service
  • Restaurant aggregate's event channel.
    com.ftgo.kitchenservice.model.Ticket Event Kitchen Service
  • Delivery Service
  • Ticket aggregate's event channel.
    com.ftgo.orderservice.saga.createorder.CreateOrderSaga-reply Reply
  • Order Service
  • Consumer Service
  • Kitchen Service
  • Accounting Service
  • Order Service The channel for getting replies for the create order saga.
    com.ftgo.orderservice.saga.cancelorder.CancelOrderSaga-reply Reply
  • Order Service
  • Kitchen Service
  • Accounting Service
  • Order Service The channel for getting replies for the cancel order saga.
    com.ftgo.orderservice.saga.reviseorder.ReviseOrderSaga-reply Reply
  • Order Service
  • Kitchen Service
  • Accounting Service
  • Order Service The channel for getting replies for the revise order saga.