All Products
Search
Document Center

Function Compute:MNSTopicTriggerConfig

Last Updated:Aug 28, 2026

Parameter

Type

Description

Example

object

Configuration of the Simple Message Queue (formerly MNS) topic trigger.

filterTag

string

The filter tag. The function is triggered only when a received message contains this tag.

serverless

notifyContentFormat

string

The format of the event content. Valid values:

  • JSON

  • STREAM

Note

The default format is STREAM.

JSON

notifyStrategy

string

The retry policy.

  • BACKOFF_RETRY: backoff retry. A total of 3 retries are made at random intervals of 10 to 20 seconds. This is the default value.

  • EXPONENTIAL_DECAY_RETRY: exponential decay retry. A total of 176 retries are made over a total period of 1 day. The interval between consecutive retries increases exponentially up to a maximum of 512 seconds. For example: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512... 512 (167 occurrences of 512).

BACKOFF_RETRY