1,080 questions
0
votes
1
answer
82
views
Service Bus Concurrency Setup in Function app isolated model
I'm migrating my in process functions to isolated.
While migrating I'm having this difficulty:
It seems like ServiceBus's maxConcurrentCalls can only be set using host.json file.
{
"version&...
0
votes
1
answer
49
views
Can the dead letter queue be ordered by date?
I am an integration tester on a project that has only just started using Azure Service Bus Topics and although I have permission to view the Dead Letter Queue, it's becoming difficult to find the ...
1
vote
1
answer
95
views
Bicep: deploy a Service Bus Queue while the Service Bus in another resource group
I have a LA deployment that require adding a SB queue. However the the SB is located in another resource group than the LA.
So, when I call the existing the SB I use the following code:
resource ...
0
votes
0
answers
145
views
Azure Service Bus Queue, Retry Policy, New Messages are On Hold
I have a service bus queue and a function app which takes message form the queue. I use postman to send messages into the queue.
Function app is written in Python with the following retry policy
@app....
0
votes
1
answer
56
views
How to use maxConcurrentCallsPerSession in Python Host.json
I have an application where I want to process 3 messages per session using Azure Service Bus and I have used service_bus_queue_trigger in my function_app.py file to process the file. I have done some ...
0
votes
1
answer
56
views
Adding Shared Access policy to Queue with python in ASB
Is it possible to add a shared access policy to a queue in Azure Service Bus using python? I'm trying the following:
from azure.servicebus.management import ServiceBusAdministrationClient, ...
0
votes
1
answer
238
views
Azure service bus: Long running message not renewing
We have a message that can run for up to 1 hour. It needs to be processed only once. We are getting issues where the message is becoming available to other processors however when we attempt to ...
0
votes
1
answer
67
views
Resilient event handing using Queue
I am using an Azure service bus queue for capturing user change events like user add, user update, user delete from an application, say Application A. So I am processing these events from a queue ...
0
votes
0
answers
64
views
How to set AutoLockRenewer() for received messages for more than five minutes?
I am having trouble with using AutoLockRenewer(). I have an app with message processing time up to 20 minutes and I want to set the message lock for 20 minutes accordingly.
def receive_messages(self, ...
0
votes
2
answers
627
views
Azure Function Servicebus Queue Trigger Parameters From Azure App Configuration Service
I'm trying to get my Function App Servicebus Queue Trigger to be used with the parameters for queue name and connection string fetched from App configuration Service in Azure.
My setup works for ...
0
votes
1
answer
124
views
Azure service bus queue not received all messages from the queue When the project is deployed on app service
I have a .NET Windows Service project deployed to an Azure App Service. My goal is to receive 100,000 messages from an Azure Service Bus queue and process these messages in a message handler. However, ...
-1
votes
1
answer
65
views
Can we use sender.SendMessageAsync(msg) and messageActions.CompleteMessageAsync(message); within the TransactionScope?
I am having Azure function which gets Trigger when AzureService Bus Topic receives message. when my saveGuestdata success I am calling await sender.SendMessageAsync(msg); and if (Transaction.Current !=...
0
votes
0
answers
109
views
How to automate Azure ServiceBus failover between 2 instances using azure devops pipelines?
We have 2 Azure Servicebus instances (one in region 1 and other in region2) with failover enabled (between region 1 & region 2 instances). As of now we are doing the failover manually.
Looking for ...
0
votes
1
answer
167
views
Azure Function not triggered by Service Bus Topic with Firewall rules despite whitelisting app
Edit: The solution, which is actually in the doc of service bus network page, is to have a virtual network with a subnet delegation to Microsoft.web/ServerFarm, and to connect both the service bus and ...
1
vote
1
answer
883
views
How can I keep alive Azure Service Bus client and sender instances for more than 10 minutes in Python SDK?
I'm currently working on integration of Azure Service Bus queue and custom gateway service. Every time service receives an event, it should send message to the dedicated queue.
I've managed to ...
0
votes
2
answers
558
views
Azure service bus message auto renewal not working
I have a python service which uses azure service bus topic for sending and receiving messages. I am using azure-servicebus==7.12.2.
Max timeout I can set on azure portal is 5 minute, but the ...
1
vote
1
answer
184
views
Message selector in Azure service bus is not working - AMQP
How are you ? Hope you are doing good .
I have faced some technical challenges in Azure service bus and Qpid client .
I am sending JMS message from Jakarta jms and I am using qpid jms client as ...
0
votes
1
answer
125
views
ASB Queue using MassTransit - How to achieve higher concurrency with lesser prefetch count
We are using Azure Service Bus queue (using Mass Transit) and multiple runners listening to the queue to process the messages from Queue. To avoid over provisioning infra, We have limited the runners ...
0
votes
1
answer
149
views
How to pass ServiceBusReceivedMessage as an input to the Azure Durable function activity?
I'm trying to move ServiceBus triggered message to deadletter queue inside once of the Azure durable function activity.
[FunctionName(nameof(CaviContainerStart))]
public async Task CaviContainerStart(
...
0
votes
1
answer
781
views
Establish a Connection between Databricks and Azure Service Bus Queue to send messages
I need to connect to Azure Service bus from Databricks (pyspark) in order to send json messages to existing queue
using a service principle or via AAD as auth.
I have tried the below code :
from azure....
0
votes
1
answer
203
views
Why do I need and/or want a CancellationToken for my Azure ServiceBus message?
I'm trying to understand what the CancellationToken is used for and if I need to use it?
If I have this code below, I can cancel it by calling CancelScheduledMessageAsync so what is a ...
0
votes
1
answer
538
views
How to configure Azure Function App to process Service Bus messages in parallel?
I have created an Azure Function App and created a function from a docker image in the Azure Container Registry. The function is triggered by a new message being placed on an Azure Service Bus queue.
...
0
votes
1
answer
120
views
Azure Service Bus 'SendBatchAsync' Method Timing Out in Legacy Web API
Question:
I am working on a legacy web API project hosted on Azure App Services. We are using the legacy WindowsAzure.ServiceBus 7.0.1 NuGet package for performing operations on Azure Service Bus.
The ...
1
vote
2
answers
387
views
Deploy filtered metrics on Azure dashboard with Bicep
I'm trying to deploy a dashboard that displays a couple of metrics for a Service Bus Queue in the Azure Portal using Bicep. Creating the tiles itself works fine, but I'm struggling with displaying the ...
0
votes
1
answer
137
views
Azure Service Bus Queue Groups
I would like to get the same functionality as I believe queue groups in Nats provides, but I have to use Azure (Service Bus?) My first question is: is this possible? If so, any pointers greatly ...
0
votes
1
answer
154
views
Receiving a message using Azure.Messaging.ServiceBus that was sent with Microsoft.ServiceBus.Messaging (ServiceBus.v1_1)
We send servicebus messages with an old library via Microsoft.ServiceBus.Messaging which is available in the nuget-package 'ServiceBus.v1_1' and want to receive and parse the message with the newest ...
0
votes
1
answer
833
views
Azure Service Bus - ServiceBusProcessorClient-Java- Trytimeout and processing concurrent sessions
I am using ServiceBusProcessorClient and AmqpRetryOptions to connect my Azure Service Bus.
Facing two issues.
Consumer waits for 30 seconds to process the next message from ASB. Is this due to ...
0
votes
2
answers
486
views
Renew Lock Before It Get Expire For Long Running Process
I have this Service Bus trigger where I am trying to renew the lock before it expires. As per my knowledge, the maximum time-to-live for a message is 5 min. But my task is taking 20 min to complete it....
0
votes
1
answer
312
views
Azure Service Bus - Message from Sender being enqueued twice
I'm relatively new to Azure Service Bus, and message queues in general. While familiarising myself, I've run into something that I initially thought was something clunky I had done, but am becoming ...
0
votes
1
answer
162
views
ServiceBusRetryOptions not working with SessionProcessor
I have created a service which starts and creates a connection to given Azure Service Bus Topic.
I am using Azure.Messaging.ServiceBus Sdk with .NET 7 and I am trying to implement retry policy but it ...
1
vote
2
answers
855
views
Azure service bus trigger function app stops monitoring its queue
The problem we are experiencing is a service bus queue trigger function app, on a rare occasion (99.999% uptime), stops performing its job. The monitor aspect of the function app just stops working. ...
0
votes
0
answers
63
views
Receive certain number of messages from Azure Service Bus queue via URL-request
does anybody know how to get a certain number of messages from a queue in Azure service bus via url without removing it?
https://mynamespace.servicebus.windows.net/myqueue/messages?PeekMessages=true&...
0
votes
0
answers
121
views
Need to controll calling 3rd party API calling per minute (throttling) in .net core
I am consuming 3rd party API in my service. My service is been called by azure service bus trigger function.
The problem is 3rd party API restricting 45 requests per minute(they are doing throttling ...
1
vote
1
answer
769
views
How to do throttling for Azure Function through code
We have lots of Azure Functions for Service Bus within a single Azure Functions instance/project. The problem is that some Azure Service Bus has very high load and thus cause a resource starvation. Is ...
1
vote
1
answer
127
views
can we set ConversationID for service bus trigger Azure v4 function c#? in ITelemetryInitializer
I m using Azure Function V4 Isolated Mode in c#. Its service bus Trigger function.
In message body I m already passing ConversationID.
I already added Telemetry.
services.AddSingleton<...
0
votes
3
answers
2k
views
Azure service bus - processing multiple messages in parallel (MaxConcurrentCallsPerSession)
I'm trying to process multiple messages, from a queue with sessions enabled, in parallel. I've tried setting MaxConcurrentCallsPerSession to 5 for example but I am still receiving 1 message at a time.
...
1
vote
1
answer
555
views
Recommended way to Limit Azure Function Service bus Trigger Concurrent message processing when using App Service Plan
What is the recommended way to limit an Azure Service bus trigger concurrent message processing when the Azure function is set to an App Service plan?
I know one can do it using "Max Concurrent ...
0
votes
1
answer
178
views
Add Retry Policy V2 Model Python Service Bus Queue Trigger
I have created an Azure Service Bus Queue with terraform, it is deployed and working properly.
I want to add a retry delay for the queue.
I have added following line in Python V2 model but after ...
0
votes
1
answer
531
views
duplicate runs with built in service bus trigger in logic apps standard workflows
We are seeing the workflow duplicate runs on a single message from queue with sessions enabled. I have posted the same on MS blog and no replies there hence posting incase if anyone is also facing the ...
1
vote
1
answer
532
views
Why to use await keyword on Azure service bus processor class StartProcessingAsync method?
I'm currently going through an example demonstrating the usage of the Azure Service Bus processor class. You can find the example
link
In this particular example, there is a code snippet at the bottom ...
1
vote
1
answer
212
views
Azure service Bus geo-recovery automation using az bash commands
In MS docs for AzureCLI, we couldn't find, az command to do perform the Switchover activity from our primary Service Bus to the Secondary Service Bus.
We are performing, below activities as part of ...
0
votes
1
answer
2k
views
What's the isolated-process equivalent to in-process ServiceBusSender bindings in Azure functions?
We've got a number of in-process azure functions that have bindings along the lines of:
public async Task Run(
[ServiceBusTrigger("%TriggerQueueName%", Connection = "...
0
votes
0
answers
155
views
C# - Azure Service Bus deployed in VM suddenly hangs and stops processing messages
New to processing messages using Azure Service bus. Any help would be greatly appreciated.
Our Azure Service Bus queues messages using an API and the received messages are processed using 4 different ...
3
votes
1
answer
720
views
How do I add a message back onto the queue from a Service Bus triggered Python Azure Function without raising an exception?
I want my Service Bus triggered Python Azure Function to make the message it has retrieved from the queue available on the queue again to be retried. I want this to happen without having to raise an ...
0
votes
1
answer
430
views
How does the maxMessageCount work in service bus trigger?
In the official document there is a binding that seems to control to number of message sent to the function when triggered at one time.
Let say maxMessageCount = 5, and there are 10 messages in the ...
0
votes
1
answer
250
views
Design architecture for integrating with a 3rd party payment provider
My team is trying to design an event-driven microservice architecture that allow an end-user to select a subscription type (e.g: Pro, Enterprise) from our website and buy max 5 licenses for that
...
0
votes
1
answer
102
views
Sequential Number Generation Issue in Loop Using Queues
I've encountered a challenge in my current implementation. I'm utilizing queues to invoke a specific function (let's call it function a()) within a loop. The loop triggers the queue, leading to ...
0
votes
2
answers
700
views
Logic app workflow failing with error "VNetPrivatePortNotConfigured"
I have configured stateful logic app workflow using service bus queue message(peek-lock) connector. After processing message, the "Complete" action failing to remove message from queue using ...
1
vote
1
answer
481
views
How to create 1 instance of Azure Function per Azure Service Queue message
I am using Azure Service Bus Queue Triggered Azure Functions
Azure Function Runtime Version = 1 and running in consumption plan
Azure function and referenced projects are developed in .NET 4.8
I ...
0
votes
1
answer
145
views
How to stop redelivery of message back to service bus queue when message lock times out
I want to stop redelivery of message back to service bus queue only when it times out , currently I am using processmessageasync to read the message and processerrorasync to handler the errors
Do not ...