::uml::
@startuml
!define AzurePuml https://raw.githubusercontent.com/plantuml-stdlib/Azure-PlantUML/release/2-2/dist !includeurl AzurePuml/AzureCommon.puml !includeurl AzurePuml/Analytics/AzureEventHub.puml !includeurl AzurePuml/Analytics/AzureStreamAnalyticsJob.puml !includeurl AzurePuml/Databases/AzureCosmosDb.puml
left to right direction
agent “Device Simulator” as devices #fff
AzureEventHub(fareDataEventHub, “Fare Data”, “PK: Medallion HackLicense VendorId; 3 TUs”) AzureEventHub(tripDataEventHub, “Trip Data”, “PK: Medallion HackLicense VendorId; 3 TUs”) AzureStreamAnalyticsJob(streamAnalytics, “Stream Processing”, “6 SUs”) AzureCosmosDb(outputCosmosDb, “Output Database”, “1,000 RUs”)
devices —> fareDataEventHub devices —> tripDataEventHub fareDataEventHub —> streamAnalytics tripDataEventHub —> streamAnalytics streamAnalytics —> outputCosmosDb
::end-uml::