Azure / Azure/azure-functions-powershell-worker
ServiceBus Output binding vs Durable functions
- Dominant language
- C#
- Stars
- 215
- Forks
- 61
- Avg merge
- 21h 4m
- Merged PRs (30d)
- 6
Description
Can't Push-OutputBinding to ServiceBus topic from any Durable Function(DurableOrchestraton, DurableActivity).
I'm using Azure ServiceBus Connection String, because according to [this](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference?tabs=servicebus#configure-an-identity-based-connection) article "Identity-based connections are not supported with Durable Functions."
Example activity function config(function.json):
```
{
"bindings": [
{
"name": "name",
"type": "activityTrigger",
"direction": "in"
},
{
"type": "serviceBus",
"direction": "out",
"connection": "AzureServiceBusConnectionString",
"name": "outputSbMsg",
"topicName": "sometopic"
}
]
}
```
and body(run.ps1):
```
param($name)
Push-OutputBinding -Name outputSbMsg -Value "Out SBSend: $name"
"SBSend: $name!"
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the activity function's function.json and run.ps1 example, then trace the Push-OutputBinding entry point for the outputSbMsg Service Bus binding in Durable orchestration and activity functions. Reproduce the failure using the AzureServiceBusConnectionString configuration and verify that messages are delivered to the specified topic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100