question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is ServiceBusTrigger supported at all?

See original GitHub issue
[FunctionName("ServiceBusTest")]
public static async Task ServiceBusTest(
    [ServiceBusTrigger("qwerty", Connection = "MyConnectionString")] string message)
{ }

throws “Microsoft Azure WebJobs SDK ServiceBus connection string ‘MyConnectionString’ is missing or empty.” before Main() is called so I have no way of providing a connections string.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:23 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
Hipster74commented, Sep 3, 2021

Any news regarding this?

Creating a dotnetisolated .NET 5.0 azure function with a ServiceBusTrigger, is it still true that I can’t reference my local user-secrets store when filling in the connectionstring?

When running in Azure, KeyVault reference is good, but for running locally on my devmachine I want to reference the local connectionstring that I have set in user-secrets.

2reactions
fabiocavcommented, Feb 5, 2021

@Mithras opening an issue to investigate the problem with service bus

For the trigger configuration, that is an expected limitation at the moment. As you found, the configuration in the worker applies to that context only and what gets applied in the host doesn’t have any access to that. Will also open an issue to track.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure Service Bus trigger for Azure Functions
The specific types supported by the Service Bus trigger depend on the Functions runtime version, the extension package version, and the C# ...
Read more >
Is ServiceBusTrigger supported at all? · Issue #186
Any news regarding this? Creating a dotnetisolated .NET 5.0 azure function with a ServiceBusTrigger, is it still true that I can't reference my ......
Read more >
Does Service Bus Trigger for Azure Function need Manage ...
From Azure Service Bus trigger for Azure Functions documentation. What I read from this is that the first says it's better to use...
Read more >
functions-bindings-service-bus-trigger.md
Azure Service Bus trigger for Azure Functions ... The following parameter types are supported by all C# modalities and extension versions: ...
Read more >
Azure Functions V4 // ServiceBusTrigger and binding ...
I am working on an Azure Function (in-process model, V 4.1) with a ServiceBusTrigger for a queue. The function works fine and gets...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found