
An API that saves to Cosmos DB and then sends to Service Bus will one day do only the first. Save the event in the same transactional batch and relay it from the change feed, unless a Service Bus message started the work.
Architecture on Microsoft Azure: Service Bus, Event Grid, Functions, Container Apps and Kubernetes on AKS.

An API that saves to Cosmos DB and then sends to Service Bus will one day do only the first. Save the event in the same transactional batch and relay it from the change feed, unless a Service Bus message started the work.

Service Bus, Event Grid, Event Hubs or Durable Functions: sort by whether the message is a command, a fact or a stream, and by what should happen when nobody is listening. Why the Functions Event Hubs trigger skips a failing batch instead of stalling.

Application Gateway for Containers runs the proxy outside your cluster; the application routing and Istio add-ons run Envoy inside it, one upgrading itself and one waiting for you. What each runs, what it refuses, and when to choose it.