You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-grid/create-view-manage-namespaces.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Create, view, and manage Azure Event Grid namespaces
3
-
description: This article describes how to create, view and manage namespaces
3
+
description: This article describes how to create, view, and manage namespaces
4
4
author: robece
5
5
ms.topic: how-to
6
6
ms.custom:
@@ -12,11 +12,11 @@ ms.date: 11/15/2023
12
12
13
13
# Create, view, and manage namespaces
14
14
15
-
A namespace in Azure Event Grid is a logical container for one or more topics, clients, client groups, topic spaces and permission bindings. It provides a unique namespace, allowing you to have multiple resources in the same Azure region. With an Azure Event Grid namespace you can group now together related resources and manage them as a single unit in your Azure subscription.
15
+
A namespace in Azure Event Grid is a logical container for one or more topics, clients, client groups, topic spaces, and permission bindings. It provides a unique namespace, allowing you to have multiple resources in the same Azure region. Using an Azure Event Grid namespace, you can group together related resources and manage them as a single unit in your Azure subscription.
16
16
17
17
18
18
19
-
This article shows you how to use the Azure portal to create, view and manage an Azure Event Grid namespace.
19
+
This article shows you how to use the Azure portal to create, view, and manage an Azure Event Grid namespace.
20
20
21
21
## Create a namespace
22
22
@@ -32,15 +32,15 @@ This article shows you how to use the Azure portal to create, view and manage an
32
32
1. Select an existing **resource group** or create a resource group.
33
33
1. Enter a **name** for the namespace.
34
34
1. Select the region or **location** where you want to create the namespace.
35
-
1. If the selected region supports availability zones, the **Availability zones** checkbox can be enabled or disabled. The checkbox is selected by default if the region supports availability zones. However, you can uncheck and disable availability zones if needed. The selection cannot be changed once the namespace is created.
35
+
1. If the selected region supports availability zones, the **Availability zones** checkbox can be enabled or disabled. The checkbox is selected by default if the region supports availability zones. However, you can uncheck and disable availability zones if needed. The selection can't be changed once the namespace is created.
36
36
1. Use the slider or text box to specify the number of **throughput units** for the namespace. Throughput units (TUs) define the ingress and egress event rate capacity in namespaces.
37
37
1. Select **Next: Networking** at the bottom of the page.
38
38
39
39
:::image type="content" source="media/create-view-manage-namespaces/create-namespace-basics-page.png" alt-text="Screenshot showing the Basics tab of Create namespace page.":::
40
40
1. Follow steps from [Configure IP firewall](configure-firewall.md) or [Configure private endpoints](mqtt-configure-private-endpoints.md) to configure IP firewall or private endpoints for the namespace, and then select **Next: Security** at the bottom of the page.
41
41
1. On the **Security** page, create a managed identity by following instructions from [Enable managed identity for a namespace](event-grid-namespace-managed-identity.md), and then select **Next: Tags** at the bottom of the page.
42
42
1. On the **Tags** tab, add the tags in case you need them. Then, select **Next: Review + create** at the bottom of the page.
43
-
6. On the **Review + create** tab, review your settings and select **Create**.
43
+
6. On the **Review + create** tab, review your settings, and select **Create**.
44
44
1. On the **Deployment succeeded** page, select **Go to resource** to navigate to your namespace.
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/batch-delete.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,13 @@ ms.date: 05/20/2024
7
7
8
8
# Batch delete messages in Azure Service Bus (Preview)
9
9
10
-
Azure Service Bus is a fully managed enterprise integration message broker that enables you to send and receive messages between decoupled applications and services. However, sometimes you may want to delete messages from a queue or subscription without processing them, for example, if they're expired, corrupted, or irrelevant. This article shows you how to delete messages in batches in Azure Service Bus.
10
+
Azure Service Bus is a fully managed enterprise integration message broker that enables you to send and receive messages between decoupled applications and services. However, sometimes you might want to delete messages from a queue or subscription without processing them, for example, if they're expired, corrupted, or irrelevant. This article shows you how to delete messages in batches in Azure Service Bus.
11
11
12
12
## Scenarios for Batch deletion of messages
13
13
14
-
There are several scenarios where you may want to use the batch delete messages feature in Azure Service Bus. Some of them are:
14
+
There are several scenarios where you might want to use the batch delete messages feature in Azure Service Bus. Some of them are:
15
15
16
-
- Expired Messages: Delete messages that exceed their "time to live" (TTL) value and are in the dead-letter queue.
16
+
- Expired Messages: Delete messages that exceed their time to live (TTL) value and are in the dead-letter queue.
17
17
- Failed Validation or Processing: Remove messages that failed validation or processing logic and are in the dead-letter queue.
18
18
- Irrelevant Messages: Delete messages no longer relevant for your application logic from the active queue.
19
19
- Handling Duplicates or Incorrect Content: Remove duplicate or incorrect messages from the active queue.
@@ -25,10 +25,10 @@ By using the batch delete messages feature, you can delete multiple messages fro
25
25
26
26
## How to batch delete messages in Service Bus
27
27
28
-
You can delete messages by calling [DeleteMessagesAsync](/dotnet/api/azure.messaging.servicebus.servicebusreceiver.deletemessagesasync?view=azure-dotnet-preview) on Service Bus Receiver object. On the server side, DeleteMessagesAsync requires two parameters: messageCount and beforeEnqueueTime as described below:
28
+
You can delete messages by calling [DeleteMessagesAsync](/dotnet/api/azure.messaging.servicebus.servicebusreceiver.deletemessagesasync?view=azure-dotnet-preview) on Service Bus Receiver object. On the server side, `DeleteMessagesAsync` requires two parameters: `messageCount` and `beforeEnqueueTime`.
29
29
30
-
- messageCount: The desired number of messages to delete.The service may delete fewer messages than this limit.
31
-
- beforeEnqueueTime: An optional DateTimeOffset, in UTC, representing the cutoff time for deletion. Only messages that were enqueued before this time will be deleted.
30
+
-`messageCount`: The desired number of messages to delete.The service might delete fewer messages than this limit.
31
+
-`beforeEnqueueTime`: An optional DateTimeOffset, in UTC, representing the cutoff time for deletion. Only messages that were enqueued before this time are deleted.
32
32
33
33
Additionally, you can call [PurgeMessagesAsync](/dotnet/api/azure.messaging.servicebus.servicebusreceiver.purgemessagesasync?view=azure-dotnet-preview) to purge all messages from entity.
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/enable-dead-letter.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ az servicebus topic subscription update \
73
73
```
74
74
75
75
> [!NOTE]
76
-
> If you specify a queue or topic by using the `--forward-dead-lettered-messages-to` parameter, Event Grid automatically forwards dead-lettered messages to that queue or topic. Here's an example: `az servicebus queue create --resource-group mysbusrg --namespace-name mysbusns --name myqueue --enable-dead-lettering-on-message-expiration true --forward-dead-lettered-messages-to myqueue2`.
76
+
> If you specify a queue or topic by using the `--forward-dead-lettered-messages-to` parameter, Service Bus automatically forwards dead-lettered messages to that queue or topic. Here's an example: `az servicebus queue create --resource-group mysbusrg --namespace-name mysbusns --name myqueue --enable-dead-lettering-on-message-expiration true --forward-dead-lettered-messages-to myqueue2`.
77
77
78
78
## Using Azure PowerShell
79
79
To **create a queue with dead lettering on message expiration enabled**, use the [`New-AzServiceBusQueue`](/powershell/module/az.servicebus/new-azservicebusqueue) command with `-DeadLetteringOnMessageExpiration` set to `$True`.
@@ -273,7 +273,7 @@ Try the samples in the language of your choice to explore Azure Service Bus feat
273
273
-[Azure Service Bus client library samples for JavaScript](/samples/azure/azure-sdk-for-js/service-bus-javascript/)
274
274
-[Azure Service Bus client library samples for TypeScript](/samples/azure/azure-sdk-for-js/service-bus-typescript/)
275
275
276
-
Find samples for the older .NET and Java client libraries below:
276
+
Find samples for the older .NET and Java client libraries:
277
277
-[Azure Service Bus client library samples for .NET (legacy)](https://github.com/Azure/azure-service-bus/tree/master/samples/DotNet/Microsoft.Azure.ServiceBus/)
278
278
-[Azure Service Bus client library samples for Java (legacy)](https://github.com/Azure/azure-service-bus/tree/master/samples/Java/azure-servicebus)
0 commit comments