Skip to main content

autumn_plugin_aws_sqs/
lib.rs

1//! Amazon SQS plugin for autumn-web.
2//!
3//! - **Jobs:** send `#[job]` work to SQS. Workers run the same handler.
4//! - **Consumers:** run a handler for each message on any queue.
5//! - **Producer:** send messages to any queue.
6//! - **Operations:** health indicator, Prometheus metrics, drain on shutdown.
7//!
8//! See the README for setup.
9
10pub mod config;
11mod consumer;
12pub mod envelope;
13mod error;
14mod health;
15mod jobs;
16mod metrics;
17mod plugin;
18pub mod policy;
19mod producer;
20pub mod transport;
21mod worker;
22
23pub use config::SqsConfig;
24pub use consumer::{ConsumerError, SnsNotification, SqsConsumer, SqsMessage};
25pub use error::SqsError;
26pub use health::SqsHealth;
27pub use jobs::{EnqueueOptions, SqsJobClient};
28pub use metrics::{QueueCounters, SqsMetrics};
29pub use plugin::{AwsSqsPlugin, PLUGIN_NAME, SqsRuntime};
30pub use producer::SqsProducer;