Skip to main content

kojin_sqs/
lib.rs

1//! AWS SQS broker for the kojin task queue.
2//!
3//! Provides [`SqsBroker`] — a broker implementation using AWS SQS with support
4//! for both standard and FIFO queues.
5//!
6//! # Features
7//!
8//! - Standard and FIFO queue auto-detection (by URL suffix `.fifo`)
9//! - Long polling for efficient message consumption
10//! - `DelaySeconds` for short scheduling (≤900s)
11//! - Native deduplication via `MessageDeduplicationId` for FIFO queues
12//!
13//! # Priority
14//!
15//! SQS does not support message priority. Messages with `priority` set will
16//! log a warning and the field is ignored.
17
18pub mod broker;
19pub mod config;
20
21pub use broker::SqsBroker;
22pub use config::SqsConfig;