Adding an Event Source
After creating the function, you can add an event source by creating a DMS trigger. Perform the following procedure:
- On the fss_examples_message_filtering page, click the Triggers tab and click Create Trigger.
- Select DMS for Trigger Type, and set the trigger information, as shown in Figure 1.
For Queue Name, select queue-test.
For Consumer Group, select group-dms.
- Click OK. The trigger is created, as shown in Figure 2.
After the DMS trigger is created, the function polls consumer group group-dms for messages every 5s. When a message is available, a DMS event is generated to trigger the function.
Last Article: Building a Program
Next Article: Filtering Sensitive Information


Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.