rigatoni-core
Core traits, pipeline orchestration, and MongoDB integration for the Rigatoni CDC/Data Replication framework.
Overview
rigatoni-core provides the foundational components for building data replication pipelines with Rigatoni:
- Pipeline Orchestration - Multi-worker architecture with retry logic and graceful shutdown
- MongoDB Source - Real-time change stream integration with resume token support
- Destination Trait - Generic interface for pluggable output destinations
- Event Model - Type-safe change event representation
- State Management - Resume token persistence for fault tolerance
Installation
Add this to your Cargo.toml:
[]
= "0.1"
Quick Start
use ;
use MemoryStore;
async
Features
This crate includes:
- MongoDB change stream source (default)
- Pipeline orchestration with batching and retry
- Event model and destination trait
- State store trait for resume tokens
Documentation
License
Licensed under the Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).