简体   繁体   中英

Azure Event Grid | Topic per event

I'll get different types of events from the client. There will be 5-6 event types and Azure Functions app will consume these events. Load to Event Grid won't be so high, let's say between 5-10k per event type per day.

I don't want to leave best practices whether the project is small or big. So, according to information I shared, should I create a topic per event type or just create a topic and filter them by subjects?

The best practice would be creating topic per event type rather than creating one and filtering by subject

Using the Events page of a resource, for example, Storage Account or Event Hubs Namespace. When you use the Events page in the Azure portal to create an event subscription for an event raised by an Azure source (for example: Azure Storage account), the portal creates a system topic for the Azure resource and then creates a subscription for the system topic. You specify the name of the system topic if you are creating an event subscription on the Azure resource for the first time. From the second time onwards, the system topic name is displayed for you in the read-only mode. See Quickstart: Route Blob storage events to web endpoint with the Azure portal for detailed steps.

Here are the few Microsoft links which have information about event grid system topics and custom topic creation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM