tencent cloud

Feedback

Last updated: 2022-08-12 15:32:48

    This document describes how to create a CKafka trigger and invoke a function.

    Step 1. Create a function

    1. Log in to the SCF console.
    2. On the function creation page, select Template, search for CKafka, and select

    CkafkaSCFCOS as shown below:

    2. Click Next.

    Step 2. Configure a trigger

    On the Function configuration page, set the basic configurations of the function.

    1. In Trigger configurations, select Custom to create a trigger as shown below:

      Select CKafka trigger and configure the name, topic, and other information of the CKafka instance as the message source as prompted. You can also choose to create a CKafka instance.
      Note:

      Make sure that your function and CKafka instance are in the same VPC.

    2. Click Complete.

    Step 3. Manage the trigger

    After the function is created, go to the function details page, and you can see the created trigger in Trigger management. You can also turn triggers on or off there.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support