Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Service Bus Batch Trigger #15

@BrianVallelunga

Description

@BrianVallelunga

I'd like to start a conversation around supporting batches of messages from an Azure Service Bus. A similar request was made for Storage Queues in Azure/azure-webjobs-sdk#625

Ideally, I'd be able to specify something like:

public void Handle([ServiceBusBatchTrigger("myqueue", 25)] BrokeredMessage[] messages)
{
  // Process the batch of messages  
}

There are a lot of scenarios where batching message processing is far more efficient than working with an individual message. In my specific case, I'm doing database inserts and those could be done much more efficiently in a batch.

I'm going to look into a similar project that supports Storage Queues: https://github.com/ealsur/WebJobs.Extensions.GroupQueueTrigger

Is this something others would be interested in?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions