At-Least-Once delivery using the Azure Cosmos DB Change Feed Processor

Alberto De Natale
3 min readSep 13, 2020

At-Least-Once delivery is an approach to sending a message from a sender to a receiver that guarantees that the message will be received and processed.

Everyone who wrote a retry loop knows how failable RESTful can be in delivering messages.

This might be a problem for systems that require messages not to be lost, requirement typical of financial platforms.

Azure Event Hubs, Azure Event Grid, Azure Service Bus, Azure Storage Queue all provide “At-Least-Once” delivery guarantee.

If you are using Azure Cosmos DB, you won’t need any of the systems above safely propagate the data that is inserted in your containers thanks to the Change Feed Processor.

The Change Feed Processor

I described the change feed processor in this article below and I would suggest you go and read it if you had not the change before:

Today I will slightly revisit this topic.

--

--

Alberto De Natale

Alberto De Natale is a passionate tech-enthusiast software developer.