Expand description
Graceful shutdown handling for RustRabbit
This module provides mechanisms for cleanly shutting down all RustRabbit components:
- Connection pool cleanup
- Consumer graceful stopping
- Batch flushing before exit
- Health monitoring shutdown
Structs§
- Shutdown
Config - Shutdown configuration
- Shutdown
Manager - Shutdown manager for coordinating graceful shutdown
Enums§
- Shutdown
Signal - Shutdown signal types
Traits§
- Shutdown
Handler - Trait for components that need shutdown handling
Functions§
- setup_
signal_ handling - CTRL+C signal handler setup