Azure - Random Notes

MongoDB protocol <---> CosmosDB (Core, SQL)
Kafka protocol <-----> Event Hubs (AMQP, HTTP)

Pasted image 20250816211206.png

Here’s the hierarchy in Kafka:


Cluster


Topic


Partition


Hierarchy

Cluster
 └── Brokers (servers)
      └── Topics (logical streams, e.g., orders, payments)
           └── Partitions (ordered logs, unit of scaling & replication)

👉 In short:


Azure Event Hubs is basically Kafka-as-a-service on Azure.
In fact:

So:


⚡ Example:


Do you want me to draw you a side-by-side pipeline diagram (Kafka vs Event Hubs vs Event Grid) so it’s crystal clear?