I had to write a transactional outbox for two of my projects. The popular solutions didn't fit, and CDC with Debezium felt too heavy for "save an event together with the data, send it later".
On paper it's simple: write to a table, poll it, publish. In practice a production outbox keeps growing: retries, backoff, stuck events, cleanup, a dead letter queue, metrics, consumer-side deduplication. I ended up wrapping all of it into a starter, and I just released 2.0.0.
Repo: https://github.com/dmitriy-iliyov/oncebox
What it is
A polling-based Transactional Outbox + Inbox for Spring Boot. Events are saved in the same DB transaction as your business data, then a background poller publishes them to Kafka or RabbitMQ.…