From 040dabd4631e3f286a656b57c2bca26baeb05520 Mon Sep 17 00:00:00 2001 From: HarshCasper Date: Tue, 17 Mar 2026 17:27:41 +0530 Subject: [PATCH 1/6] add Azure Service Bus service doc --- .../docs/azure/services/service-bus.mdx | 271 +++++++++++++++++- 1 file changed, 270 insertions(+), 1 deletion(-) diff --git a/src/content/docs/azure/services/service-bus.mdx b/src/content/docs/azure/services/service-bus.mdx index a190fa92..9ca5d7f7 100644 --- a/src/content/docs/azure/services/service-bus.mdx +++ b/src/content/docs/azure/services/service-bus.mdx @@ -1,11 +1,280 @@ --- title: "Service Bus" -description: API coverage for Microsoft.ServiceBus in LocalStack for Azure. +description: Get started with Azure Service Bus on LocalStack template: doc --- import AzureFeatureCoverage from "../../../../components/feature-coverage/AzureFeatureCoverage"; +## Introduction + +Azure Service Bus is a fully managed enterprise message broker that supports queues and publish/subscribe topics. +It helps decouple distributed systems and build reliable asynchronous messaging workflows. +Service Bus is commonly used for command processing, event distribution, and integration between independent services. For more information, see [What is Azure Service Bus?](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview) + +LocalStack for Azure provides a local environment for building and testing applications that make use of Azure Service Bus. +The supported APIs are available on our [API Coverage section](#api-coverage), which provides information on the extent of Service Bus's integration with LocalStack. + +## Getting started + +This guide is designed for users new to Service Bus and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. + +Start your LocalStack container using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). + +:::note +As an alternative to using the `azlocal` CLI, users can run: + +`azlocal start-interception` + +This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. +To revert this configuration, run: + +`azlocal stop-interception` + +This reconfigures the `az` CLI to send commands to the official Azure management REST API. At this time, there is no full parity between `azlocal` and `az` commands after running `az start-interception`. Therefore, this technique is not fully interchangeable. +::: + +### Create a resource group + +Create a resource group to contain your Service Bus resources: + +```bash +azlocal group create \ + --name rg-servicebus-demo \ + --location westeurope +``` + +```bash title="Output" +{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-servicebus-demo", + "location": "westeurope", + "managedBy": null, + "name": "rg-servicebus-demo", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": null, + "type": "Microsoft.Resources/resourceGroups" +} +``` + +### Create a Service Bus namespace + +Create a Service Bus namespace in the resource group: + +```bash +azlocal servicebus namespace create \ + --resource-group rg-servicebus-demo \ + --name sbnsdoc83 \ + --location westeurope \ + --sku Standard +``` + +```bash title="Output" +{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-servicebus-demo/providers/Microsoft.ServiceBus/namespaces/sbnsdoc83", + "name": "sbnsdoc83", + "location": "westeurope", + "provisioningState": "Succeeded", + "serviceBusEndpoint": "https://sbnsdoc83.localhost.localstack.cloud:4511", + "sku": { + "name": "Standard", + "tier": "Standard" + }, + ... +} +``` + +Get and list namespaces: + +```bash +azlocal servicebus namespace show \ + --resource-group rg-servicebus-demo \ + --name sbnsdoc83 + +azlocal servicebus namespace list \ + --resource-group rg-servicebus-demo +``` + +### Create and inspect a queue + +Create a queue in the namespace: + +```bash +azlocal servicebus queue create \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --name orders-queue +``` + +```bash title="Output" +{ + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-servicebus-demo/providers/Microsoft.ServiceBus/namespaces/sbnsdoc83/queues/orders-queue", + "name": "orders-queue", + "location": "westeurope", + "status": "Active", + "messageCount": 0, + "maxSizeInMegabytes": 1024, + ... +} +``` + +Get and list queues: + +```bash +azlocal servicebus queue show \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --name orders-queue + +azlocal servicebus queue list \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 +``` + +### Create topic and subscription + +Create a topic and a subscription: + +```bash +azlocal servicebus topic create \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --name orders-topic + +azlocal servicebus topic subscription create \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --topic-name orders-topic \ + --name orders-sub +``` + +```bash title="Output" +{ + "name": "orders-topic", + "status": "Active", + "subscriptionCount": 0, + ... +} +{ + "name": "orders-sub", + "status": "Active", + "messageCount": 0, + ... +} +``` + +Get and list subscriptions: + +```bash +azlocal servicebus topic subscription show \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --topic-name orders-topic \ + --name orders-sub + +azlocal servicebus topic subscription list \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --topic-name orders-topic +``` + +### Create and list subscription rules + +Create a SQL filter rule for the subscription: + +```bash +azlocal servicebus topic subscription rule create \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --topic-name orders-topic \ + --subscription-name orders-sub \ + --name high-priority \ + --filter-sql-expression "priority = 'high'" +``` + +```bash title="Output" +{ + "name": "high-priority", + "filterType": "SqlFilter", + "sqlFilter": { + "sqlExpression": "priority = 'high'", + ... + }, + ... +} +``` + +List rules for the subscription: + +```bash +azlocal servicebus topic subscription rule list \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --topic-name orders-topic \ + --subscription-name orders-sub +``` + +### Create and manage namespace authorization rules + +Create an authorization rule: + +```bash +azlocal servicebus namespace authorization-rule create \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --name app-policy \ + --rights Listen Send +``` + +```bash title="Output" +{ + "name": "app-policy", + "rights": [ + "Listen", + "Send" + ], + ... +} +``` + +List authorization rules: + +```bash +azlocal servicebus namespace authorization-rule list \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 +``` + +List and regenerate keys: + +```bash +azlocal servicebus namespace authorization-rule keys list \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --name app-policy + +azlocal servicebus namespace authorization-rule keys renew \ + --resource-group rg-servicebus-demo \ + --namespace-name sbnsdoc83 \ + --name app-policy \ + --key PrimaryKey +``` + +```bash title="Output" +{ + "keyName": "app-policy", + "primaryConnectionString": "Endpoint=https://sbnsdoc83.localhost.localstack.cloud:4511/;SharedAccessKeyName=app-policy;SharedAccessKey=...;UseDevelopmentEmulator=true", + "secondaryConnectionString": "Endpoint=https://sbnsdoc83.localhost.localstack.cloud:4511/;SharedAccessKeyName=app-policy;SharedAccessKey=...;UseDevelopmentEmulator=true", + ... +} +{ + "keyName": "app-policy", + "primaryConnectionString": "Endpoint=https://sbnsdoc83.localhost.localstack.cloud:4511/;SharedAccessKeyName=app-policy;SharedAccessKey=...;UseDevelopmentEmulator=true", + ... +} +``` + ## API Coverage From bc89988f9c0991892cffdad64b5acfcf00d55791 Mon Sep 17 00:00:00 2001 From: HarshCasper Date: Thu, 9 Apr 2026 16:50:18 +0530 Subject: [PATCH 2/6] address PR review: add Features, Limitations, Samples sections and JSON output examples - Add Features, Limitations, and Samples sections before API Coverage - Add JSON output examples for queue show/list and subscription show/list - Add note about countDetails accuracy in the emulator Made-with: Cursor --- .../docs/azure/services/service-bus.mdx | 129 ++++++++++++++++++ 1 file changed, 129 insertions(+) diff --git a/src/content/docs/azure/services/service-bus.mdx b/src/content/docs/azure/services/service-bus.mdx index 9ca5d7f7..ac93d6a4 100644 --- a/src/content/docs/azure/services/service-bus.mdx +++ b/src/content/docs/azure/services/service-bus.mdx @@ -126,12 +126,60 @@ azlocal servicebus queue show \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --name orders-queue +``` + +```bash title="Output" +{ + "accessedAt": "2026-03-18T10:13:18.3906198Z", + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferDeadLetterMessageCount": 0, + "transferMessageCount": 0 + }, + ... + "name": "orders-queue", + ... + "status": "Active", + "type": "Microsoft.ServiceBus/namespaces/queues", + ... +} +``` +```bash azlocal servicebus queue list \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 ``` +```bash title="Output" +[ + { + "accessedAt": "2026-03-18T10:14:44.3808099Z", + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferDeadLetterMessageCount": 0, + "transferMessageCount": 0 + }, + ... + "name": "orders-queue", + ... + "status": "Active", + "type": "Microsoft.ServiceBus/namespaces/queues", + ... + } +] +``` + +:::note +The values under `countDetails` may not be accurate in the emulator. +::: + ### Create topic and subscription Create a topic and a subscription: @@ -172,13 +220,61 @@ azlocal servicebus topic subscription show \ --namespace-name sbnsdoc83 \ --topic-name orders-topic \ --name orders-sub +``` +```bash title="Output" +{ + "accessedAt": "2026-03-18T10:13:18.3906198Z", + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferDeadLetterMessageCount": 0, + "transferMessageCount": 0 + }, + ... + "name": "orders-sub", + ... + "status": "Active", + "type": "Microsoft.ServiceBus/namespaces/topics/subscriptions", + ... +} +``` + +```bash azlocal servicebus topic subscription list \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --topic-name orders-topic ``` +```bash title="Output" +[ + { + "accessedAt": "2026-03-18T10:14:44.3808099Z", + "autoDeleteOnIdle": "P10675199DT2H48M5.4775807S", + "countDetails": { + "activeMessageCount": 0, + "deadLetterMessageCount": 0, + "scheduledMessageCount": 0, + "transferDeadLetterMessageCount": 0, + "transferMessageCount": 0 + }, + ... + "name": "orders-sub", + ... + "status": "Active", + "type": "Microsoft.ServiceBus/namespaces/topics/subscriptions", + ... + } +] +``` + +:::note +The values under `countDetails` may not be accurate in the emulator. +::: + ### Create and list subscription rules Create a SQL filter rule for the subscription: @@ -275,6 +371,39 @@ azlocal servicebus namespace authorization-rule keys renew \ } ``` +## Features + +The emulator includes the following core capabilities: + +- **Data Plane REST API**: Supports message-level operations, including Send, Receive, and Peek. +- **Control Plane REST API**: Enables CRUD operations for namespaces and messaging entities (queues, topics, and subscriptions) via Azure Resource Manager (ARM). +- **Multiple Authentication Modes**: Supports both Connection String and Managed Identity authentication. +- **Containerized Deployment**: Runs as a lightweight, Linux-based Docker container. +- **Cross-Platform Compatibility**: Fully compatible with Windows, macOS, and Linux environments. +- **Flexible Configuration**: Manage Service Bus entities via the Service Bus Administration Client or through JSON-based configuration files. +- **Advanced Streaming**: Supports message streaming via the Advanced Message Queuing Protocol (AMQP). + +## Limitations + +The current version of the emulator does **not** support the following: + +- **Protocols**: JMS protocol streaming and AMQP Web Sockets (AMQP over TCP is the only supported transport). +- **Messaging Patterns**: Transactions, auto-forwarding (queue chaining), and message lock renewal. +- **Validation**: Enforcements such as maximum entity counts or maximum message sizes. +- **Metrics**: Property-based message counts for queues, topics, and subscriptions may be inaccurate. + +The following Azure-native features are currently unavailable in the emulator: + +- **Scaling & Resiliency**: Autoscale, Geo-disaster recovery, and Large Message support. +- **Monitoring**: Visual metrics, alerts, and telemetry dashboards. + +## Samples + +Explore the following samples to get started with Service Bus on LocalStack: + +- [Azure Functions App with Service Bus Messaging](https://github.com/localstack/localstack-azure-samples/blob/main/samples/function-app-service-bus/dotnet/) +- [Azure Service Bus with Spring Boot](https://github.com/localstack/localstack-azure-samples/tree/main/samples/servicebus/java) + ## API Coverage From 21c264234281c1f6072e784160f093ac034734b3 Mon Sep 17 00:00:00 2001 From: HarshCasper Date: Thu, 9 Apr 2026 16:54:22 +0530 Subject: [PATCH 3/6] final fixes --- src/content/docs/azure/services/service-bus.mdx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/content/docs/azure/services/service-bus.mdx b/src/content/docs/azure/services/service-bus.mdx index ac93d6a4..a4a6d9f2 100644 --- a/src/content/docs/azure/services/service-bus.mdx +++ b/src/content/docs/azure/services/service-bus.mdx @@ -19,20 +19,20 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w This guide is designed for users new to Service Bus and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. -Start your LocalStack container using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). +Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: -:::note -As an alternative to using the `azlocal` CLI, users can run: - -`azlocal start-interception` +```bash +azlocal start-interception +``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: -`azlocal stop-interception` +```bash +azlocal stop-interception +``` -This reconfigures the `az` CLI to send commands to the official Azure management REST API. At this time, there is no full parity between `azlocal` and `az` commands after running `az start-interception`. Therefore, this technique is not fully interchangeable. -::: +This reconfigures the `az` CLI to send commands to the official Azure management REST API. ### Create a resource group From 3a728b4b5ae91e9d9f3f1fd33e79626589885be4 Mon Sep 17 00:00:00 2001 From: HarshCasper Date: Thu, 9 Apr 2026 16:56:48 +0530 Subject: [PATCH 4/6] switch from azlocal to az --- .../docs/azure/services/service-bus.mdx | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/content/docs/azure/services/service-bus.mdx b/src/content/docs/azure/services/service-bus.mdx index a4a6d9f2..be104ff6 100644 --- a/src/content/docs/azure/services/service-bus.mdx +++ b/src/content/docs/azure/services/service-bus.mdx @@ -39,7 +39,7 @@ This reconfigures the `az` CLI to send commands to the official Azure management Create a resource group to contain your Service Bus resources: ```bash -azlocal group create \ +az group create \ --name rg-servicebus-demo \ --location westeurope ``` @@ -63,7 +63,7 @@ azlocal group create \ Create a Service Bus namespace in the resource group: ```bash -azlocal servicebus namespace create \ +az servicebus namespace create \ --resource-group rg-servicebus-demo \ --name sbnsdoc83 \ --location westeurope \ @@ -88,11 +88,11 @@ azlocal servicebus namespace create \ Get and list namespaces: ```bash -azlocal servicebus namespace show \ +az servicebus namespace show \ --resource-group rg-servicebus-demo \ --name sbnsdoc83 -azlocal servicebus namespace list \ +az servicebus namespace list \ --resource-group rg-servicebus-demo ``` @@ -101,7 +101,7 @@ azlocal servicebus namespace list \ Create a queue in the namespace: ```bash -azlocal servicebus queue create \ +az servicebus queue create \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --name orders-queue @@ -122,7 +122,7 @@ azlocal servicebus queue create \ Get and list queues: ```bash -azlocal servicebus queue show \ +az servicebus queue show \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --name orders-queue @@ -149,7 +149,7 @@ azlocal servicebus queue show \ ``` ```bash -azlocal servicebus queue list \ +az servicebus queue list \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 ``` @@ -185,12 +185,12 @@ The values under `countDetails` may not be accurate in the emulator. Create a topic and a subscription: ```bash -azlocal servicebus topic create \ +az servicebus topic create \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --name orders-topic -azlocal servicebus topic subscription create \ +az servicebus topic subscription create \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --topic-name orders-topic \ @@ -215,7 +215,7 @@ azlocal servicebus topic subscription create \ Get and list subscriptions: ```bash -azlocal servicebus topic subscription show \ +az servicebus topic subscription show \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --topic-name orders-topic \ @@ -243,7 +243,7 @@ azlocal servicebus topic subscription show \ ``` ```bash -azlocal servicebus topic subscription list \ +az servicebus topic subscription list \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --topic-name orders-topic @@ -280,7 +280,7 @@ The values under `countDetails` may not be accurate in the emulator. Create a SQL filter rule for the subscription: ```bash -azlocal servicebus topic subscription rule create \ +az servicebus topic subscription rule create \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --topic-name orders-topic \ @@ -304,7 +304,7 @@ azlocal servicebus topic subscription rule create \ List rules for the subscription: ```bash -azlocal servicebus topic subscription rule list \ +az servicebus topic subscription rule list \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --topic-name orders-topic \ @@ -316,7 +316,7 @@ azlocal servicebus topic subscription rule list \ Create an authorization rule: ```bash -azlocal servicebus namespace authorization-rule create \ +az servicebus namespace authorization-rule create \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --name app-policy \ @@ -337,7 +337,7 @@ azlocal servicebus namespace authorization-rule create \ List authorization rules: ```bash -azlocal servicebus namespace authorization-rule list \ +az servicebus namespace authorization-rule list \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 ``` @@ -345,12 +345,12 @@ azlocal servicebus namespace authorization-rule list \ List and regenerate keys: ```bash -azlocal servicebus namespace authorization-rule keys list \ +az servicebus namespace authorization-rule keys list \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --name app-policy -azlocal servicebus namespace authorization-rule keys renew \ +az servicebus namespace authorization-rule keys renew \ --resource-group rg-servicebus-demo \ --namespace-name sbnsdoc83 \ --name app-policy \ From eab7c1ebd5f3ac3acff8fbce5bec7f9126631682 Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Thu, 9 Apr 2026 16:58:01 +0530 Subject: [PATCH 5/6] Update src/content/docs/azure/services/service-bus.mdx Co-authored-by: Paolo Salvatori --- src/content/docs/azure/services/service-bus.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/azure/services/service-bus.mdx b/src/content/docs/azure/services/service-bus.mdx index be104ff6..d98d96f1 100644 --- a/src/content/docs/azure/services/service-bus.mdx +++ b/src/content/docs/azure/services/service-bus.mdx @@ -10,7 +10,7 @@ import AzureFeatureCoverage from "../../../../components/feature-coverage/AzureF Azure Service Bus is a fully managed enterprise message broker that supports queues and publish/subscribe topics. It helps decouple distributed systems and build reliable asynchronous messaging workflows. -Service Bus is commonly used for command processing, event distribution, and integration between independent services. For more information, see [What is Azure Service Bus?](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview) +Service Bus is commonly used for command processing, event distribution, and integration between independent services. For more information, see [What is Azure Service Bus?](https://learn.microsoft.com/azure/service-bus-messaging/service-bus-messaging-overview) LocalStack for Azure provides a local environment for building and testing applications that make use of Azure Service Bus. The supported APIs are available on our [API Coverage section](#api-coverage), which provides information on the extent of Service Bus's integration with LocalStack. From a14af3e8fa8c66999688ccc6f1ad157eb10c965e Mon Sep 17 00:00:00 2001 From: Harsh Mishra Date: Thu, 9 Apr 2026 17:06:27 +0530 Subject: [PATCH 6/6] Update src/content/docs/azure/services/service-bus.mdx Co-authored-by: Paolo Salvatori --- .../docs/azure/services/service-bus.mdx | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/content/docs/azure/services/service-bus.mdx b/src/content/docs/azure/services/service-bus.mdx index d98d96f1..bf00e3cd 100644 --- a/src/content/docs/azure/services/service-bus.mdx +++ b/src/content/docs/azure/services/service-bus.mdx @@ -404,6 +404,39 @@ Explore the following samples to get started with Service Bus on LocalStack: - [Azure Functions App with Service Bus Messaging](https://github.com/localstack/localstack-azure-samples/blob/main/samples/function-app-service-bus/dotnet/) - [Azure Service Bus with Spring Boot](https://github.com/localstack/localstack-azure-samples/tree/main/samples/servicebus/java) +## Features + +The emulator includes the following core capabilities: + +- **Data Plane REST API**: Supports message-level operations, including Send, Receive, and Peek. +- **Control Plane REST API**: Enables CRUD operations for namespaces and messaging entities (queues, topics, and subscriptions) via Azure Resource Manager (ARM). +- **Multiple Authentication Modes**: Supports both Connection String and Managed Identity authentication. +- **Containerized Deployment**: Runs as a lightweight, Linux-based Docker container. +- **Cross-Platform Compatibility**: Fully compatible with Windows, macOS, and Linux environments. +- **Flexible Configuration**: Manage Service Bus entities via the Service Bus Administration Client or through JSON-based configuration files. +- **Advanced Streaming**: Supports message streaming via the Advanced Message Queuing Protocol (AMQP). + +## Limitations + +The current version of the emulator does **not** support the following: + +- **Protocols**: JMS protocol streaming and AMQP Web Sockets (AMQP over TCP is the only supported transport). +- **Messaging Patterns**: Transactions, auto-forwarding (queue chaining), and message lock renewal. +- **Validation**: Enforcements such as maximum entity counts or maximum message sizes. +- **Metrics**: Property-based message counts for queues, topics, and subscriptions may be inaccurate. + +The following Azure-native features are currently unavailable in the emulator: + +- **Scaling & Resiliency**: Autoscale, Geo-disaster recovery, and Large Message support. +- **Monitoring**: Visual metrics, alerts, and telemetry dashboards. + +## Samples + +Explore the following samples to get started with Service Bus on LocalStack: + +- [Azure Functions App with Service Bus Messaging](https://github.com/localstack/localstack-azure-samples/blob/main/samples/function-app-service-bus/dotnet/) +- [Azure Service Bus with Spring Boot](https://github.com/localstack/localstack-azure-samples/tree/main/samples/servicebus/java) + ## API Coverage