1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
//! MySQL broker implementation for CeleRS
//!
//! This broker uses MySQL with `FOR UPDATE SKIP LOCKED` for reliable,
//! distributed task queue processing. It supports:
//! - Priority queues
//! - Dead Letter Queue (DLQ) for permanently failed tasks
//! - Delayed task execution (enqueue_at, enqueue_after)
//! - Prometheus metrics (optional `metrics` feature)
//! - Batch enqueue/dequeue/ack operations
//! - Transaction safety
//! - Distributed workers without contention
//! - Queue pause/resume functionality
//! - DLQ inspection and requeue
//! - Task status inspection
//! - Database health checks
//! - Automatic task archiving
// Core type definitions
pub use *;
// Circuit breaker and idempotency types
pub use *;
// Workflow, hooks, and builder types
pub use *;
// Distributed tracing context
pub use *;
// Statistics and diagnostics types
pub use *;
// MysqlBroker struct and core implementation
pub use MysqlBroker;
// Distributed tracing and lifecycle hooks
// Enhanced broker operations
// Broker trait implementation
// Task chain and batch reject operations
// Advanced operations (metrics, retention, rate limiting)
// Resilience features (retry policies, recurring tasks, circuit breaker, idempotency)
// Batch operations, worker management, and task groups
pub use *;
// Diagnostics, profiling, and statistics
// Monitoring utilities
// Tests