I've got a time-triggered Azure Function through which I push some message in my Azure Service Bus topic. Now, the expectation is whenever a message is received in the topic it will trigger another function which is a topic-triggered function. Unfortunately, when I check for messages in the topic subscription through Service Bus Explorer tool, it doesn't show any message received. Also I can see this error in the function console : The 'myFunc' function is in error: The binding type(s) 'serviceBusTrigger' are not registered. Please ensure the type is correct and the binding extension is installed
I'm not sure where am I going wrong here. I've defined my topic-triggered function like this:
[FunctionName("myFunc")]
public async Task Run([ServiceBusTrigger("topic-name", "subs-name", Connection = "ServiceBusConnectionString")]string message, ILogger log)
{ ... }
Note that I've got the latest versions of Microsoft.Azure.WebJobs & Microsoft.Azure.WebJobs.ServiceBus installed(however dont know why both shows a warning). Is it because of any issue with the versions?
My host.json:
{
"version": "2.0",
"logging": {
"logLevel": {
"fun_name": "Information"
}
}
}

