Transactional Outbox Pattern with Azure Functions and Cosmos DB

This post will walk through an implementation of the transactional outbox pattern using Azure Functions and Cosmos DB. The source code can be found at https://aka.ms/event-driven-architecture. A little bit about microservices In many distributed applications, it is typical for services to independently maintain their own datastore. This approach is used frequently in microservices and helps ...

Azure Schema Registry with Event Hubs and Kafka

The Azure Schema Registry provides a repository for developers that wish to store, define and enforce schemas in their distributed applications and services. This post will explore how to use the new Schema Registry with Azure Event Hubs and the supported Kafka API. All the source code can be found at dbarkol/azure-schema-registry-samples (github.com). A little ...

WebHooks with Azure Event Grid and CloudEvents v1.0

CloudEvents v1.0 is finally here and it has been exciting to see it's rapid growth and adoption. The milestone is the culmination of years of collaboration between many thought-leaders, cloud providers and members of a vibrant, open-source community. Azure Event Grid has always provided first-class support for CloudEvents. And now, Event Grid supports the v1.0 ...

Azure API Management, Key Vault and Managed Identities

This post will provide an example of how to integrate Azure API Management, Key Vault and Managed Identities to securely retrieve and use a secret within an API. GitHub repository: https://github.com/dbarkol/api-management-key-vault-secret About Managed Identities In Azure, an Active Directory identity can be assigned to a managed resource such as a Azure Function, App Service or even an ...

Routing Azure Event Grid Events to a Service Bus Queue

Very Brief Overview of Azure Event Grid What makes Event Grid one of the coolest (and most innovative) services on Azure is it's unique integration between event sources and event handlers. Event sources can emerge from a continually growing list of Azure services. A source can also be a custom event that originates from any line of ...

Azure Event Hubs, Kafka and Dependency Injection in Azure Functions

This post will demonstrate a solution that leverages the following technologies and Azure features: Dependency injection in .NET Azure Functions Sending messages from Azure Functions to Azure Event Hubs using the Kafka protocol. Consuming messages from a Kafka topic with kafkacat. GitHub repository: https://github.com/dbarkol/functions-eventhubs-kafka Event Hubs and Kafka Azure Event Hubs now supports Apache Kafka 1.0 and ...

Publishing to Event Grid from Azure API Management

I recently came across this great session from Build 2018 called Be an integration superhero with Azure and build API-enabled and connected enterprises. The session provides an overview of the integration services on Azure, which include Service Bus, Logic Apps, API Management (APIM) and Event Grid. If you are interested in seeing how these services can work ...