{"id":16771975,"url":"https://github.com/eddmann/serverless-transactional-outbox-pattern","last_synced_at":"2026-01-03T02:44:36.785Z","repository":{"id":244393916,"uuid":"814813411","full_name":"eddmann/serverless-transactional-outbox-pattern","owner":"eddmann","description":"Exploration into ways that we can implement the Transactional outbox pattern within a Serverless setting.","archived":false,"fork":false,"pushed_at":"2024-06-14T11:46:47.000Z","size":75,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T03:26:41.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/eddmann.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-06-13T18:58:08.000Z","updated_at":"2024-06-14T11:49:10.000Z","dependencies_parsed_at":"2024-06-14T13:13:35.927Z","dependency_job_id":null,"html_url":"https://github.com/eddmann/serverless-transactional-outbox-pattern","commit_stats":null,"previous_names":["eddmann/serverless-transactional-outbox-pattern"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Fserverless-transactional-outbox-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Fserverless-transactional-outbox-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Fserverless-transactional-outbox-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddmann%2Fserverless-transactional-outbox-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddmann","download_url":"https://codeload.github.com/eddmann/serverless-transactional-outbox-pattern/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243895825,"owners_count":20365279,"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-10-13T06:29:35.809Z","updated_at":"2026-01-03T02:44:36.747Z","avatar_url":"https://github.com/eddmann.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless Transactional Outbox Pattern\n\nExploration into ways that we can implement the [Transactional outbox pattern](https://microservices.io/patterns/data/transactional-outbox.html) within a Serverless setting.\n\n- [Relational Database - Polling Worker](./relational-database-polling-worker/)\n- [DynamoDB Streams - Change Data Capture](./dynamodb-streams-change-data-capture/)\n\n## Unexplored alternatives\n\n- **Relational Database - Lambda Trigger:** within Postgres we could use `LISTEN`/`NOTIFY` to invoke a [Lambda function](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL-Lambda.html) once the transaction has been successfully committed, so as to publish the events to EventBridge.\n- **Single-Table DynamoDB Streams - Change Data Capture:** - Using a single-table DynamoDB design (or if you do not want to use a multi-table transaction), we could store an `event` property within the inserted/updated record which is then used to publish events to the EventBridge.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddmann%2Fserverless-transactional-outbox-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddmann%2Fserverless-transactional-outbox-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddmann%2Fserverless-transactional-outbox-pattern/lists"}