Module shutdown

Module shutdown 

Source
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§

ShutdownConfig
Shutdown configuration
ShutdownManager
Shutdown manager for coordinating graceful shutdown

Enums§

ShutdownSignal
Shutdown signal types

Traits§

ShutdownHandler
Trait for components that need shutdown handling

Functions§

setup_signal_handling
CTRL+C signal handler setup