Reject subset of events in function app using nodejs

Jimmy Thomson 0 Reputation points
2025-01-29T17:52:48.0466667+00:00

From the docs, I can see that using C# it's possible to set autoCompleteMessages to false and manually complete or abandon an individual event when receiving a batch of events. Can anyone confirm that this same functionality does not exist in nodejs? If not, is there a well documented approach to simulating the behaviour that's out-of-the-box with C#?

Thanks.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
662 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,399 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jimmy Thomson 0 Reputation points
    2025-02-04T08:38:21.8866667+00:00

    Yes, that's the default, and as far as I'm aware the value of autoCompleteMessages cannot be set to false for nodejs, and there is no way to handle individual message failures in the same way that there is in C#.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.