GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Kuper-Tech/outbox-example-apps: sbmt-outbox example applications

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
quest
quest
 
 
voyage
voyage
 
 
README.md
README.md
 
 

Repository files navigation

Outbox example apps

These are example applications that use:

  • sbmt-outbox
  • sbmt-kafka_producer
  • sbmt-kafka_consumer

How to run

  1. Install Dip
  2. Start Quest application cd quest && dip infra up && dip up
  3. Start Voyage application cd voyage && dip infra up && dip up

Test case

  1. 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'
  1. Send the order to the Voyage app with Outbox pattern
curl -X POST -L  http://quest.lvh.me/api/v1/orders/ORDER-ID/completion
  1. Show the imported order in the Voyage app
curl -L http://voyage.lvh.me/api/v1/orders/ORDER-ID

Troubleshooting

Sometimes 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

About

sbmt-outbox example applications

Resources

Readme
Activity
Custom properties

Stars

27 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.