These are example applications that use:
- Install Dip
- Start Quest application
cd quest && dip infra up && dip up - Start Voyage application
cd voyage && dip infra up && dip up
- Create an order in the Quest app
curl -L http://quest.lvh.me/api/v1/orders -F '[order]name=Foo' -F '[order]qty=3' -F '[order]price=42'- Send the order to the Voyage app with Outbox pattern
curl -X POST -L http://quest.lvh.me/api/v1/orders/ORDER-ID/completion- Show the imported order in the Voyage app
curl -L http://voyage.lvh.me/api/v1/orders/ORDER-IDSometimes Kafka broker doesn't receive a message into the topic. In this case:
- stop all applications with
dip down - stop infra containers with
dip infra down - delete kafka volumes with
docker volume rm dip-infra-kafka-latest_kafka dip-infra-kafka-latest_zookeeper