Use the `sea-streamer-redis` backend
mainsea-streamer-redis is a high-level async implementation of the SeaStreamer abstract interface for Redis Streams. It abstracts away low-level Redis commands like XADD, XREAD, and XACK in favor of a type-safe API designed for high throughput (up to 100k messages per second).
Key Features
- RealTime mode: Includes
AutoStreamResetbehavior. - Resumable mode: Supports auto-ack and/or auto-commit.
- LoadBalanced mode: Provides failover behavior.
- Time-based operations: Seek or rewind to a specific point in time.
- Stream Sharding: Basic support for splitting a stream into multiple sub-streams.
- Concurrency Model: Uses a mutex-free implementation where read and write loops are separated from your processing loop, allowing them to run in parallel via Rust's async runtime.