π Major Feature Additions & Enhancements
Version 0.3.0 brings powerful new features, extended database support, and major improvements to event processing and scalability. This release further strengthens Namastack Outbox as a robust, production-ready solution for event-driven architectures.
π Key Features
Outbox Event Multicaster & Annotation
- π‘ OutboxEventMulticaster: Seamless event publishing via the new multicaster, supporting both
@DomainEventsand directApplicationEventPublisher. - π·οΈ @OutboxEvent Annotation: Mark your events for outbox processing with SpEL support for aggregateId extraction and custom event types.
- βοΈ Pluggable Serialization: Default Jackson-based serialization, with support for custom serializers (e.g., Avro, Protobuf).
Parallelized Processing
- Parallel Processing: Outbox records are now processed in parallel (per instance) for higher throughput.
- Configurable Thread Pool: Fine-tune performance with new executor settings.
Extended Database Support
- PostgreSQL
- MySQL
- MariaDB
- SQL Server
- Oracle
- H2
Automatic schema creation and improved documentation for all major databases.
New Option: Delete Completed Records
- ποΈ Delete Completed Records: Optionally delete outbox records after successful processing to keep your outbox table lean.
π§ Technical Improvements
Dependency Updates & Maintenance
- β¬οΈ Updated Dependencies: Hibernate, Jackson, Micrometer, JUnit, and more.
- π¨ Improved Build Tooling: Better code quality and maintainability.
βοΈ Configuration Highlights
- publish-after-save: Control whether events are published to listeners after saving.
- executor-core-pool-size / executor-max-pool-size: Configure parallelism for processing.
- delete-completed-records: Enable automatic deletion of processed records.
π Migration from v0.2.0
The database tables must be recreated due to schema changes.
See the README migration section for details and recommended steps.
π Performance Improvements
- Parallel Processing: Higher throughput and lower latency for event delivery.
- Database Support: Optimized schema creation and compatibility.
π Acknowledgments
Thanks to the community for feedback, testing, and contributions that made this release possible!
π Resources
- π Documentation: outbox.namastack.io
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
Download: GitHub Releases
Maven Central: io.namastack:namastack-outbox-starter-jpa:0.3.0