Skip to content

Commit 2ae3fd2

Browse files
committed
freshness review & update
1 parent 977b556 commit 2ae3fd2

File tree

5 files changed

+34
-31
lines changed

5 files changed

+34
-31
lines changed

articles/service-bus-messaging/includes/event-grid-service-bus.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
author: spelluru
66
ms.service: event-grid
77
ms.topic: include
8-
ms.date: 10/20/2021
8+
ms.date: 12/08/2022
99
ms.author: spelluru
1010
ms.custom: include file
1111
---
@@ -16,16 +16,16 @@ Service Bus emits the following event types:
1616

1717
| Event type | Description |
1818
| ---------- | ----------- |
19-
| Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners | Raised when there are active messages in a Queue or Subscription and no receivers listening. |
20-
| Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners | Raised when there are active messages in a Dead Letter Queue and no active listeners. |
21-
| Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications | Raised every 30 seconds if there are active messages in a queue or subscription, even if there are active listeners on that specific queue or subscription. It's also raised when the active message count transitions from 0 to a positive value for the queue or subscription. |
22-
| Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications | Raised every 30 seconds if there are messages in the dead-letter entity of a queue or subscription, even if there are active listeners on the dead-letter entity of that specific queue or subscription. It's also raised when the dead-letter message count transitions from 0 to a positive value for the dead-letter entity of the queue or subscription. |
19+
| `Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners` | Raised when there are active messages in a queue or subscription and no receivers listening. |
20+
| `Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners` | Raised when there are active messages in a dead letter queue and no active listeners. |
21+
| `Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications` | Raised every 30 seconds if there are active messages in a queue or subscription, even if there are active listeners on that specific queue or subscription. It's also raised when the active message count transitions from 0 to a positive value for the queue or subscription. |
22+
| `Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications` | Raised every 30 seconds if there are messages in the dead-letter entity of a queue or subscription, even if there are active listeners on the dead-letter entity of that specific queue or subscription. It's also raised when the dead-letter message count transitions from 0 to a positive value for the dead-letter entity of the queue or subscription. |
2323

2424
## Example event
2525

2626
# [Event Grid event schema](#tab/event-grid-event-schema)
2727

28-
### Active Messages Available With No Listeners
28+
### Active messages available with no listeners
2929
This event is generated if you have active messages in a queue or a subscription and there are no receivers listening.
3030

3131
```json
@@ -48,7 +48,7 @@ This event is generated if you have active messages in a queue or a subscription
4848
}]
4949
```
5050

51-
#### Deadletter Messages Available With No Listeners
51+
#### Dead-letter messages available with no listeners
5252

5353
The schema for a dead letter queue event is similar. You get at least one event per dead-letter queue that has messages and no active receivers.
5454

@@ -72,8 +72,8 @@ The schema for a dead letter queue event is similar. You get at least one event
7272
}]
7373
```
7474

75-
#### Active Messages Available Periodic Notifications
76-
This event is generated periodically if you have active messages on the specific queue or subscription, even if there are active listeners on that specific queue or subscription.
75+
#### Active messages available periodic notifications
76+
This event is generated periodically if you have active messages in the specific queue or subscription, even if there are active listeners for that specific queue or subscription.
7777

7878
```json
7979
[{
@@ -95,7 +95,7 @@ This event is generated periodically if you have active messages on the specific
9595
}]
9696
```
9797

98-
#### Deadletter Messages Available Periodic Notifications
98+
#### Dead-letter messages available periodic notifications
9999
This event is generated periodically if you have deadletter messages on the specific queue or subscription, even if there are active listeners on the deadletter entity of that specific queue or subscription.
100100

101101
```json
@@ -120,7 +120,7 @@ This event is generated periodically if you have deadletter messages on the spec
120120

121121
# [Cloud event schema](#tab/cloud-event-schema)
122122

123-
### Active Messages Available With No Listeners
123+
### Active messages available with no listeners
124124
This event is generated if you have active messages in a queue or a subscription and there are no receivers listening.
125125

126126
```json
@@ -142,7 +142,7 @@ This event is generated if you have active messages in a queue or a subscription
142142
}]
143143
```
144144

145-
#### Deadletter Messages Available With No Listeners
145+
#### Deadletter messages available with no listeners
146146

147147
The schema for a dead letter queue event is similar. You get at least one event per dead-letter queue that has messages and no active receivers.
148148

@@ -165,7 +165,7 @@ The schema for a dead letter queue event is similar. You get at least one event
165165
}]
166166
```
167167

168-
#### Active Messages Available Periodic Notifications
168+
#### Active messages available periodic notifications
169169
This event is generated periodically if you have active messages on the specific queue or subscription, even if there are active listeners on that specific queue or subscription.
170170

171171
```json
@@ -187,7 +187,7 @@ This event is generated periodically if you have active messages on the specific
187187
}]
188188
```
189189

190-
#### Deadletter Messages Available Periodic Notifications
190+
#### Deadletter messages available periodic notifications
191191
This event is generated periodically if you have deadletter messages on the specific queue or subscription, even if there are active listeners on the deadletter entity of that specific queue or subscription.
192192

193193
```json
@@ -220,7 +220,7 @@ An event has the following top-level data:
220220

221221
| Property | Type | Description |
222222
| -------- | ---- | ----------- |
223-
| `topic` | string | Full resource path to the event source. This field is not writeable. Event Grid provides this value. |
223+
| `topic` | string | Full resource path to the event source. This field isn't writeable. Event Grid provides this value. |
224224
| `subject` | string | Publisher-defined path to the event subject. |
225225
| `eventType` | string | One of the registered event types for this event source. |
226226
| `eventTime` | string | The time the event is generated based on the provider's UTC time. |
@@ -235,7 +235,7 @@ An event has the following top-level data:
235235

236236
| Property | Type | Description |
237237
| -------- | ---- | ----------- |
238-
| `source` | string | Full resource path to the event source. This field is not writeable. Event Grid provides this value. |
238+
| `source` | string | Full resource path to the event source. This field isn't writeable. Event Grid provides this value. |
239239
| `subject` | string | Publisher-defined path to the event subject. |
240240
| `type` | string | One of the registered event types for this event source. |
241241
| `time` | string | The time the event is generated based on the provider's UTC time. |

articles/service-bus-messaging/includes/service-bus-event-grid-prerequisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: service-bus-messaging
55
author: spelluru
66
ms.service: service-bus-messaging
77
ms.topic: include
8-
ms.date: 09/29/2021
8+
ms.date: 12/08/2022
99
ms.author: spelluru
1010
ms.custom: "include file"
1111

-10.3 KB
Loading

articles/service-bus-messaging/service-bus-to-event-grid-integration-concept.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: This article provides a description of how Azure Service Bus messag
44
documentationcenter: .net
55
author: spelluru
66
ms.topic: conceptual
7-
ms.date: 12/02/2022
7+
ms.date: 12/08/2022
88
ms.author: spelluru
99
ms.custom: devx-track-azurecli, devx-track-azurepowershell
1010
---
1111

1212
# Azure Service Bus to Event Grid integration overview
13-
Service Bus can now emit events to Event Grid when there are messages in a queue or a subscription when no receivers are present. You can create Event Grid subscriptions to your Service Bus namespaces, listen to these events, and then react to the events by starting a receiver. With this feature, you can use Service Bus in reactive programming models. The key scenario of this feature is that Service Bus queues or subscriptions with a low volume of messages do not need to have a receiver that polls for messages continuously.
13+
Service Bus can emit events to Event Grid when there are messages in a queue or a subscription when no receivers are present. You can create Event Grid subscriptions to your Service Bus namespaces, listen to these events, and then react to the events by starting a receiver. With this feature, you can use Service Bus in reactive programming models. The key scenario of this feature is that Service Bus queues or subscriptions with a low volume of messages do not need to have a receiver that polls for messages continuously.
1414

1515
To enable the feature, you need the following items:
1616

@@ -43,7 +43,7 @@ You can create Event Grid subscriptions for Service Bus namespaces in three diff
4343
```
4444
### How many events are emitted, and how often?
4545
46-
If you have multiple queues and topics or subscriptions in the namespace, you get at least one event per queue and one per subscription. The events are emitted immediately if there are no messages in the Service Bus entity and a new message arrives. Or the events are emitted every two minutes unless Service Bus detects an active receiver. Message browsing does not interrupt the events.
46+
If you have multiple queues and topics or subscriptions in the namespace, you get at least one event per queue and one per subscription. The events are emitted immediately if there are no messages in the Service Bus entity and a new message arrives. Or the events are emitted every two minutes unless Service Bus detects an active receiver. Message browsing doesn't interrupt the events.
4747
4848
By default, Service Bus emits events for all entities in the namespace. If you want to get events for specific entities only, see the next section.
4949

articles/service-bus-messaging/service-bus-to-event-grid-integration-example.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article provides steps for handling Service Bus events via Eve
44
documentationcenter: .net
55
author: spelluru
66
ms.topic: tutorial
7-
ms.date: 10/04/2021
7+
ms.date: 12/08/2022
88
ms.author: spelluru
99
---
1010

@@ -33,7 +33,7 @@ In this step, you create an Azure logic app that receives Service Bus events via
3333
1. Search for **Event Grid**.
3434
2. Select **When a resource event occurs - Azure Event Grid**.
3535

36-
![Logic Apps Designer - select Event Grid trigger](./media/service-bus-to-event-grid-integration-example/logic-apps-event-grid-trigger.png)
36+
:::image type="content" source="./media/service-bus-to-event-grid-integration-example/logic-apps-event-grid-trigger.png" alt-text="Screenshot of showing the Logic Apps Designer with Event Grid trigger selected.":::
3737
4. Select **Sign in**, enter your Azure credentials, and select **Allow Access**.
3838
5. On the **When a resource event occurs** page, do the following steps:
3939
1. Select your Azure subscription.
@@ -43,23 +43,26 @@ In this step, you create an Azure logic app that receives Service Bus events via
4343

4444
:::image type="content" source="./media/service-bus-to-event-grid-integration-example/add-new-parameter-suffix-filter.png" alt-text="Image showing the addition of a suffix filter.":::
4545
1. For **Suffix Filter**, enter the name of your Service Bus topic subscription.
46-
![Logic Apps Designer - configure event](./media/service-bus-to-event-grid-integration-example/logic-app-configure-event.png)
46+
47+
:::image type="content" source="./media/service-bus-to-event-grid-integration-example/logic-apps-event-grid-trigger.png" alt-text="Screenshot of showing the Logic Apps Designer with connection configuration for the Service Bus namespace.":::
4748
1. Select **+ New Step** in the designer, and do the following steps:
4849
1. Search for **Service Bus**.
4950
2. Select **Service Bus** in the list.
5051
3. Select for **Get messages** in the **Actions** list.
5152
4. Select **Get messages from a topic subscription (peek-lock)**.
5253

53-
![Logic Apps Designer - get messages action](./media/service-bus-to-event-grid-integration-example/service-bus-get-messages-step.png)
54-
5. Enter a **name for the connection**. For example: **Get messages from the topic subscription**, and select the Service Bus namespace.
55-
56-
![Logic Apps Designer - select the Service Bus namespace](./media/service-bus-to-event-grid-integration-example/logic-apps-select-namespace.png)
57-
6. Select **RootManageSharedAccessKey**, and then select **Create**.
58-
59-
![Logic Apps Designer - select the shared access key](./media/service-bus-to-event-grid-integration-example/logic-app-shared-access-key.png)
54+
:::image type="content" source="./media/service-bus-to-event-grid-integration-example/service-bus-get-messages-step.png" alt-text="Screenshot of showing the Logic Apps Designer with Get messages from a topic subscription selected.":::
55+
5. Follow these steps:
56+
1. Enter a **name for the connection**. For example: **Get messages from the topic subscription**.
57+
1. Confirm that **Authentication Type** is set to **Access Key**.
58+
1. For **Connection String**, copy and paste the connection string to the Service Bus namespace that you saved earlier.
59+
1. Select **Create**.
60+
61+
:::image type="content" source="./media/service-bus-to-event-grid-integration-example/logic-app-shared-access-key.png" alt-text="Screenshot of showing the Logic Apps Designer with the Service Bus connection string specified.":::
6062
8. Select your **topic** and **subscription**.
6163

62-
![Screenshot that shows where you select your topic and subscription.](./media/service-bus-to-event-grid-integration-example/logic-app-select-topic-subscription.png)
64+
65+
:::image type="content" source="./media/service-bus-to-event-grid-integration-example/logic-app-shared-access-key.png" alt-text="Screenshot of showing the Logic Apps Designer with the Service Bus topic and subscription specified.":::
6366

6467
### Add a step to process and complete received messages
6568
In this step, you'll add steps to send the received message in an email and then complete the message. In a real-world scenario, you'll process a message in the logic app before completing the message.

0 commit comments

Comments
 (0)