tencent cloud

피드백

마지막 업데이트 시간: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.

    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원