Expand description
§Transactional Processing with Exactly-Once Semantics
This module provides enterprise-grade transactional processing capabilities with exactly-once delivery guarantees for stream processing.
§Features
- Exactly-once semantics: Guaranteed event delivery without duplicates
- Two-phase commit: Distributed transaction coordination
- Multiple isolation levels: Read uncommitted, read committed, repeatable read, serializable
- Idempotency: Automatic deduplication of events
- Transaction log: Persistent transaction state
- Recovery: Automatic recovery from failures
- Checkpoint management: Periodic state snapshots
§Architecture
The transactional processing system uses a combination of:
- Write-ahead logging (WAL) for durability
- Two-phase commit for atomicity
- Bloom filters for deduplication
- State checkpointing for recovery
Structs§
- Transaction
Checkpoint - Checkpoint for recovery
- Transaction
LogEntry - Transaction log entry for write-ahead logging
- Transaction
Metadata - Transaction metadata
- Transactional
Config - Configuration for transactional processing
- Transactional
Processor - Transactional processing manager
- Transactional
Stats - Statistics for transactional processing
Enums§
- Isolation
Level - Transaction isolation levels
- LogEntry
Type - Type of transaction log entry
- Transaction
State - Transaction state in the two-phase commit protocol