Menu

oncebox v2.0.0: Transactional Outbox and Inbox in one thing

#backend#redditbackend#event#events#side
Long article (505 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.