Skip to content

Commit d8e036b

Browse files
committed
Freshness review
1 parent a7c7ca4 commit d8e036b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

articles/service-bus-messaging/compare-messaging-services.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,37 @@
11
---
22
title: Compare Azure messaging services
33
description: Describes the three Azure messaging services - Azure Event Grid, Event Hubs, and Service Bus. Recommends which service to use for different scenarios.
4-
ms.topic: overview
5-
ms.date: 11/01/2022
4+
ms.topic: concept-article
5+
ms.date: 03/19/2024
6+
#customer intent: As an architect or a developer, I want to know when to use Azure Event Grid, Azure Event Hubs, and Azure Service Bus.
67
---
78

89
# Choose between Azure messaging services - Event Grid, Event Hubs, and Service Bus
9-
10-
Azure offers three services that assist with delivering events or messages throughout a solution. These services are:
11-
12-
- Azure Event Grid
13-
- Azure Event Hubs
14-
- Azure Service Bus
10+
Azure offers three services that assist with delivering events or messages throughout a solution. These services are: Azure Event Grid, Azure Event Hubs, Azure Service Bus.
1511

1612
Although they have some similarities, each service is designed for particular scenarios. This article describes the differences between these services, and helps you understand which one to choose for your application. In many cases, the messaging services are complementary and can be used together.
1713

18-
## Event vs. message services
14+
## Events vs. messages
1915
There's an important distinction between services that deliver an event and services that deliver a message.
2016

2117
### Event
2218
An event is a lightweight notification of a condition or a state change. The publisher of the event has no expectation about how the event is handled. The consumer of the event decides what to do with the notification. Events can be discrete units or part of a series.
2319

24-
Discrete events report state change and are actionable. To take the next step, the consumer only needs to know that something happened. The event data has information about what happened but doesn't have the data that triggered the event. For example, an event notifies consumers that a file was created. It may have general information about the file, but it doesn't have the file itself. Discrete events are ideal for serverless solutions that need to scale.
20+
Discrete events report change in a state and are actionable. To take the next step, the consumer only needs to know that something happened. The event data has information about what happened but doesn't have the data that triggered the event. For example, an event notifies consumers that a file was created. It might have general information about the file, but it doesn't have the file itself. Discrete events are ideal for serverless solutions that need to scale.
2521

2622
A series of events reports a condition and are analyzable. The events are time-ordered and interrelated. The consumer needs the sequenced series of events to analyze what happened.
2723

2824
### Message
2925
A message is raw data produced by a service to be consumed or stored elsewhere. The message contains the data that triggered the message pipeline. The publisher of the message has an expectation about how the consumer handles the message. A contract exists between the two sides. For example, the publisher sends a message with the raw data, and expects the consumer to create a file from that data and send a response when the work is done.
3026

27+
Now, let's quickly review what Azure Event Grid, Azure Event Hubs, and Azure Service Bus are.
3128

3229
## Azure Event Grid
33-
Event Grid is an eventing backplane that enables event-driven, reactive programming. It uses the publish-subscribe model. Publishers emit events, but have no expectation about how the events are handled. Subscribers decide on which events they want to handle.
30+
Azure Event Grid is a highly scalable, fully managed Pub Sub message distribution service that offers flexible message consumption patterns using the Message Queueing Telemetry Transport (MQTT) and HTTP protocols. With Azure Event Grid, you can build data pipelines with device data, integrate applications, and build event-driven serverless architectures.
31+
32+
The service provides an eventing backbone that enables event-driven and reactive programming. It uses the publish-subscribe model. Publishers emit events, but have no expectation about how the events are handled. Subscribers decide on which events they want to handle.
3433

35-
Event Grid is deeply integrated with Azure services and can be integrated with third-party services. It simplifies event consumption and lowers costs by eliminating the need for constant polling. Event Grid efficiently and reliably routes events from Azure and non-Azure resources. It distributes the events to registered subscriber endpoints. The event message has the information you need to react to changes in services and applications. Event Grid isn't a data pipeline, and doesn't deliver the actual object that was updated.
34+
Event Grid is deeply integrated with other Azure services and can be integrated with third-party services. It simplifies event consumption and lowers costs by eliminating the need for constant polling. Event Grid efficiently and reliably routes events from Azure and non-Azure resources. It distributes the events to registered subscriber endpoints. The event message has the information you need to react to changes in services and applications. Event Grid isn't a data pipeline, and doesn't deliver the actual object that was updated.
3635

3736
It has the following characteristics:
3837

@@ -67,10 +66,11 @@ Service Bus is a brokered messaging system. It stores messages in a "broker" (fo
6766
For more information, see [Service Bus overview](../service-bus-messaging/service-bus-messaging-overview.md).
6867

6968
## Comparison of services
69+
The following table compares the three services: Event Grid, Event Hubs, and Service Bus.
7070

7171
| Service | Purpose | Type | When to use |
7272
| ------- | ------- | ---- | ----------- |
73-
| Event Grid | Reactive programming | Event distribution (discrete) | React to status changes |
73+
| Event Grid | Reactive programming | Event distribution (discrete events) | React to status changes |
7474
| Event Hubs | Big data pipeline | Event streaming (series) | Telemetry and distributed data streaming |
7575
| Service Bus | High-value enterprise messaging | Message | Order processing and financial transactions |
7676

@@ -81,7 +81,7 @@ In other cases, you link them together to form an event and data pipeline. You u
8181

8282
:::image type="content" source="./media/compare-messaging-services/overview.svg" alt-text="Diagram showing how Event Hubs, Service Bus, and Event Grid can be connected together.":::
8383

84-
## Next steps
84+
## Related content
8585
See the following articles:
8686
- [Asynchronous messaging options in Azure](/azure/architecture/guide/technology-choices/messaging)
8787
- [Events, Data Points, and Messages - Choosing the right Azure messaging service for your data](https://azure.microsoft.com/blog/events-data-points-and-messages-choosing-the-right-azure-messaging-service-for-your-data/).

0 commit comments

Comments
 (0)