Book Image

Serverless Integration Design Patterns with Azure

By : Abhishek Kumar, Srinivasa Mahendrakar
Book Image

Serverless Integration Design Patterns with Azure

By: Abhishek Kumar, Srinivasa Mahendrakar

Overview of this book

With more enterprises adapting cloud-based and API-based solutions, application integration has become more relevant and significant than ever before. Parallelly, Serverless Integration has gained popularity, as it helps agile organizations to build integration solutions quickly without having to worry about infrastructure costs. With Microsoft Azure’s serverless offerings, such as Logic Apps, Azure Functions, API Management, Azure Event Grid and Service Bus, organizations can build powerful, secure, and scalable integration solutions with ease. The primary objective of this book is to help you to understand various serverless offerings included within Azure Integration Services, taking you through the basics and industry practices and patterns. This book starts by explaining the concepts of services such as Azure Functions, Logic Apps, and Service Bus with hands-on examples and use cases. After getting to grips with the basics, you will be introduced to API Management and building B2B solutions using Logic Apps Enterprise Integration Pack. This book will help readers to understand building hybrid integration solutions and touches upon Microsoft Cognitive Services and leveraging them in modern integration solutions. Industry practices and patterns are brought to light at appropriate opportunities while explaining various concepts.
Table of Contents (15 chapters)

Example 2 – custom Azure Event Grid topic and event broadcast

This example will describe how we can work with a custom Event Grid topic to broadcast events from an event source to multiple event listener endpoints. In this example, we will use the Azure Functions code given in the previous section to publish custom events to an Event Grid topic endpoint.

The basic event flow architecture is described in the following diagram. The event flow details are listed here:

  • The web app sends an event to Azure Event Grid.
  • Azure Event Grid has three different subscriptions, Logic Apps, Azure Functions, and Webhooks, to read the event details.
  • Logic Apps will write the incoming event to Service Bus, which will again be polled by the client application.
  • Azure Functions will write the event details to a SQL database account.
  • Webhooks will display the event details on the HTTP endpoint...