Trigger a Microservice with an Event
Intermediate
20 min.
Trigger a microservice to run when an event is published into the Kyma runtime.
You will learn
- How to trigger a microservice with an event
Prerequisites
This tutorial relies on the Commerce mock application to publish events into the Kyma runtime. After binding the Commerce mock application to the dev
Namespace, we will create a service instance of the SAP Commerce Cloud - Events. The service instance will allow for any microservice or lambda function within the dev
Namespace to subscribe to these events by defining an event subscription. The subscription pairs an event source, the Commerce mock application, and the event type, order.created, to a subscriber which in this case will be the Go MSSQL API microservice.