{"id":20515801,"url":"https://github.com/kuper-tech/outbox-example-apps","last_synced_at":"2025-10-14T17:10:22.174Z","repository":{"id":230396762,"uuid":"765033898","full_name":"Kuper-Tech/outbox-example-apps","owner":"Kuper-Tech","description":"sbmt-outbox example applications","archived":false,"fork":false,"pushed_at":"2024-08-29T08:52:58.000Z","size":92,"stargazers_count":25,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-29T10:12:37.076Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kuper-Tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-29T06:46:56.000Z","updated_at":"2024-08-29T08:53:03.000Z","dependencies_parsed_at":"2024-04-23T18:58:24.952Z","dependency_job_id":"b1acafb1-0d36-40e1-958e-1814092cac70","html_url":"https://github.com/Kuper-Tech/outbox-example-apps","commit_stats":null,"previous_names":["sbermarket-tech/outbox-example-apps","kuper-tech/outbox-example-apps"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuper-Tech%2Foutbox-example-apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuper-Tech%2Foutbox-example-apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuper-Tech%2Foutbox-example-apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kuper-Tech%2Foutbox-example-apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kuper-Tech","download_url":"https://codeload.github.com/Kuper-Tech/outbox-example-apps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224846762,"owners_count":17379603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T21:24:46.790Z","updated_at":"2025-10-14T17:10:17.150Z","avatar_url":"https://github.com/Kuper-Tech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Outbox example apps\n\nThese are example applications that use:\n- [sbmt-outbox](https://github.com/SberMarket-Tech/sbmt-outbox)\n- [sbmt-kafka_producer](https://github.com/SberMarket-Tech/sbmt-kafka_producer)\n- [sbmt-kafka_consumer](https://github.com/SberMarket-Tech/sbmt-kafka_consumer)\n\n## How to run\n\n1. Install [Dip](https://github.com/bibendi/dip)\n2. Start [Quest](./quest/) application `cd quest \u0026\u0026 dip infra up \u0026\u0026 dip up`\n3. Start [Voyage](./voyage/) application `cd voyage \u0026\u0026 dip infra up \u0026\u0026 dip up`\n\n## Test case\n\n1. Create an order in the Quest app\n\n```shell\ncurl -L http://quest.lvh.me/api/v1/orders -F '[order]name=Foo' -F '[order]qty=3' -F '[order]price=42'\n```\n\n2. Send the order to the Voyage app with Outbox pattern\n\n```shell\ncurl -X POST -L  http://quest.lvh.me/api/v1/orders/ORDER-ID/completion\n```\n\n3. Show the imported order in the Voyage app\n\n```shell\ncurl -L http://voyage.lvh.me/api/v1/orders/ORDER-ID\n```\n\n## Troubleshooting\n\nSometimes Kafka broker doesn't receive a message into the topic. In this case:\n- stop all applications with `dip down`\n- stop infra containers with `dip infra down`\n- delete kafka volumes with `docker volume rm dip-infra-kafka-latest_kafka dip-infra-kafka-latest_zookeeper`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuper-tech%2Foutbox-example-apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuper-tech%2Foutbox-example-apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuper-tech%2Foutbox-example-apps/lists"}