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時間365日のサポートをご提供します。

    電話サポート(24 時間365日対応)