Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.68 KB

File metadata and controls

34 lines (20 loc) · 1.68 KB

Step 6 - Apply the Webhook Event Subscription

Prerequisite step: Select your eventing backend

Prerequisite Option 1: Use NATS

NATS is the default eventing backend of SAP BTP, Kyma Runtime. If you haven't changed your eventing backend to SAP Event Mesh, then there are no additional steps required.

Prerequisite Option 2: Use SAP Event Mesh

Optionally, use Kyma Eventing with SAP Event Mesh (only if you're not using a free tier or free trial BTP account).

Note: By default, Kyma clusters have an Eventing backend based on NATS. However, it is possible to switch this backend to SAP Event Mesh if you're not using a free tier or free trial BTP account.

Apply the Event Registration Subscription

  1. Create a Subscription to receive events. The subscription custom resource is used to subscribe to events.

    kubectl apply -f ./webhook-event-subscription/k8s/subscription.yaml
  2. Verify that the subscription has been created in the cdc namespace.

    kubectl get subscription -n cdc

Navigation

🏠 ◀️ Setup : Step 5 - Deploy the Event Consumer Serverless Function ▶️ Verification : Step 1 - Verify that all the resources of the app are running