All Products
Search
Document Center

:MnsTopicTriggerConfig

Last Updated:Sep 09, 2026

Parameter

Type

Description

Example

object

The configurations of the Message Service (MNS) topic trigger.

filterTag

string

The filtering tag. Function execution is triggered only when a message that contains the specified filter tag is received.

“serverless”

notifyContentFormat

string

The content format of the trigger event. The following two content formats are supported:

  • JSON

  • STREAM

JSON

notifyStrategy

string

The retry policy. The following two retry policies are supported:

  • BACKOFF_RETRY: a backoff retry. It retries three times. The interval between consecutive retries is a random value between 10 seconds and 20 seconds.

  • EXPONENTIAL_DECAY_RETRY: an exponential decay retry policy. A total of 176 retries are performed, with the interval between consecutive retries increasing exponentially to 512 seconds. The total retry period is 1 day. The specific intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, and 512 seconds. The interval of 512 seconds are used for 167 times.

Valid values:

  • EXPONENTIAL_DECAY_RETRY

  • BACKOFF_RETRY

BACKOFF_RETRY