How can I send data from my Azure Event Hub to my Azure Signal R Service by using an Azure Function in Python? Should I use an Event Hub Trigger or another type of trigger? If I understand correctly, I need to create a function.json and specify the bindings as such:
function.json
{ "scriptFile": "__init__.py", "bindings": [ { "authLevel": "anonymous", "type": "httpTrigger", "direction": "in", "name": "req", "methods": [ "post", "get" ] }, { "type": "signalR", "direction": "out", "name": "$return", "hubName": "myhubName" } ] } How should my "init.py" look like?
https://stackoverflow.com/questions/66879960/how-to-send-event-hub-events-to-a-signalr-with-an-azure-function-written-in-pyth March 31, 2021 at 08:06AM
没有评论:
发表评论