Skip to main content

Crate rustfs_notify

Crate rustfs_notify 

Source
Expand description

RustFS Notify - A flexible and extensible event notification system for object storage.

This library provides a Rust implementation of a storage bucket notification system. It supports sending events to various targets (like Webhook and MQTT) and includes features like event persistence and retry on failure.

Re-exports§

pub use integration::NotificationMetricSnapshot;
pub use integration::NotificationSystem;
pub use integration::NotificationTargetMetricSnapshot;
pub use rules::BucketNotificationConfig;

Modules§

factory
integration
notifier
notifier_global
A module providing the public API for event notification.
registry
rules

Structs§

Event
Represents a storage event
EventArgs
EventArgsBuilder
Builder for EventArgs.
LiveEventHistory
NotificationLifecycleTransition
NotifyBucketConfigManager
NotifyConfigManager
NotifyObjectInfo
Object metadata required by notification event serialization.
NotifyPipeline
NotifyRuleEngine
NotifyRuntimeFacade
NotifyRuntimeView
NotifyServices
NotifyStatusView
NotifyStore

Enums§

LifecycleError
Errors related to the notification system’s lifecycle.
NotificationError
Error types for the notification system
NotificationRuntimeState

Functions§

ensure_live_events
Ensures the stable process-wide live-event container exists.
initialize
Initialize the global notification system with the given configuration.
initialize_live_events
Initialize the global notification system only for live in-process consumers.
is_notification_system_initialized
Check if the notification system has been initialized.
notification_metrics_snapshot
Returns aggregate notification delivery metrics for Prometheus collection.
notification_system
Returns a handle to the global NotificationSystem instance. Return None if the system has not been initialized.
notification_target_metrics
Returns per-target notification delivery metrics for Prometheus collection.
reconcile
Ensures the stable singleton exists and reconciles its target runtime.
runtime_target_id_for_subsystem

Type Aliases§

NotifyEventBridge