DebeziumOutboxSample
Tiny event driven sample application, using Debezium to help implement the outbox pattern
Install / Use
/learn @joaofbantunes/DebeziumOutboxSampleREADME
Debezium Outbox Sample
Tiny sample application showing how we could use Debezium to publish our outbox messages
NOTE It should go without saying that this is not production ready.
About the solution
The solution is comprised of 3 projects
- Producer - Application that stores a collection of messages in the outbox table. Doesn't do anything else, as Debezium is in charge of doing the actual publishing.
- Consumer - Subscribes to events, logging every time a new one arrives, just to show that the messages put in the outbox are being published to Kafka.
- Events - Contains the events that are used in the solution. Also contains interfaces (and implementations) for publishing and subscribing to events.
In the root of the solution, there's a Docker Compose file to spin up the necessary dependencies, which are PostgreSQL, Kafka and Seq.
Using JSON serialization for the events, good enough for demo purposes. For production scenarios, something like ProtoBuf or Avro are probably better options.
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
