All Products
Search
Document Center

Simple Message Queue (formerly MNS):OSS event notifications

Last Updated:Mar 11, 2026

If you want to perform operations such as real-time processing, synchronization, listening, business triggering, and logging for object changes, you can set event notification rules in the Object Storage Service (OSS) console to customize specific objects. OSS event notifications automatically push event messages to a Simple Message Queue (SMQ, formerly MNS) queue or topic whenever matching object changes occur. Your application consumes those messages and runs the appropriate business logic.

How it works

  1. You set event notification rules in the OSS console to customize specific objects. The rule specifies which object changes to monitor and which SMQ destination receives the events.

  2. When a matching change occurs, OSS pushes an event message to the designated SMQ queue or topic.

  3. Your application consumes the message from the queue or topic and runs downstream logic.

Choosing between a queue and a topic:

DestinationPatternWhen to use
QueuePoint-to-pointA single consumer processes each event. Use this for sequential workflows where each event needs exactly one handler.
TopicPublish-subscribeMultiple subscribers receive the same event. Use this when several independent systems need to react to the same object change.

Use cases

ScenarioDescription
Real-time processingProcess object changes as they happen.
SynchronizationKeep dependent systems in sync with object changes.
ListeningMonitor objects for specific changes.
Business triggeringStart downstream business workflows when specific object events occur.
LoggingRecord object-level operations for review.

Configure event notification rules

You can configure OSS event notification rules from either the SMQ console or the OSS console.

MethodGuide
SMQ consoleCreate an OSS event notification rule
OSS consoleTutorial: Use SMQ to send notifications of OSS events

Related topics