All Products
Document Center


Last Updated: Dec 13, 2018

You can create an MNS topic trigger to subscribe a function to an MNS topic. When a publisher publishes messages to the MNS topic, the MNS topic trigger will be invoked, and the messages will be passed to the handler of the function as the event parameter.


You need to activate Function Compute and Message Service to create an MNS topic trigger.


  1. Create a function

  2. Test the function

Next step

Create a function