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 ...
Pub-Sub with Dapr and Azure Event Hubs
This post will demonstrate how to configure and use Azure Event Hubs as a pub-sub component in Dapr. It will also cover how to consume messages from a topic with Dapr using Node.js, Go and C#. The source code can be found at: https://github.com/dbarkol/dapr-pubsub-eventhubs Dapr and Pub-Sub What makes Dapr so unique and innovative is ...
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 ...
Generate a Service Bus SAS Token from the Azure Cloud Shell
I've always kept around a handy console application that would generate SAS tokens for a Service Bus queue or topic. While it was convenient, it also seemed a little silly to have to keep that application around for such a trivial task. Generating SAS tokens from Bash While researching for alternatives, I came across this helpful ...
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 ...
Scaling Azure Functions to Make 500,000 Requests to Weather.com in Under 3 Minutes
One of the best parts of my job is having the opportunity to work with some amazing customers who are putting together innovative solutions in the cloud. In this post, I'd like to share some details about a recent engagement that taught me a lot about Azure Functions, scale, and other related topics. The source ...
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 ...