Parameter | Description |
Trigger type | In this scenario, select Message queue of Kafka. |
Trigger name | Specify a custom name for the trigger. Trigger names cannot be repeated under the same function. The trigger name cannot be modified after being created. |
Instance | The Kafka instance. veFaaS will consume messages from the specified Topic of the specified Kafka instance as a consumer. Select the Kafka instance and Topic described in the prerequisites.
tip You can only select a Kafka instance that is deployed in the same VPC as the function. |
Number of retries | The maximum number of retries when a function has run errors, including user code errors and runtime errors. |
Consumer offset | Specifies where to start consuming messages in the Topic. You can select Consume from the beginning or Consume from the latest offset. Select an appropriate position based on your business requirements. After the consumption position is specified, it cannot be changed.
|
Activate now | Whether to enable the Trigger while creating it. Only Trigger enabled will work properly. |
Authentication | Enter the SASL username and password described in the prerequisites for accessing the Kafka instance. veFaaS uses the ACL permission policies of Kafka to authenticate message consumption for SASL users of both PLAIN and SCRAM types. warning
|
Description | Enter remarks as needed. |