Currently we are trying to migrate our EventHub based function (EventHubTrigger & Eventhub output) to Azure Functions v2 (.NET Core 2), but after the refactoring (see Repro Steps) the functions host initialization failed.
Host starts successfully and function will triggered by incoming messages
This error occurs on host initialization:
The following 1 functions are in error: EventHubFunction: Unabled to configure binding 'incomingProtobufTimeMgmtMessage' of type 'eventHubTrigger'. This may indicate invalid function.json properties. Can't figure out which ctor to call.
I committed an extract of our Eventhub function implementation to my personal GitHub repository
Having same issue.
Azure Event Hub trigger in 1.0.7 of Functions and it doesn't find the EventHub trigger at all.
Having the same issue too.
It may come from the generation of the "function.json" file by the framework, specifically in the bindings section. The path element should be named eventHubName regardless the contructors in the attibutes.
Yes problem with the Microsoft.Net.Sdk.Functions serializing the function.json incorrectly. The "path" should now be "eventHubName" in the new binding extension.
@paulbatum can we bump this next sprint? Blocking for event hub triggers in v2 without a manual edit of the function.json generated in the /bin directory currently.
Any progress on this ?
Opened this issue to track the required tooling update.
@hoffe86 I think this can be closed as the tooling has been updated - can you please confirm?
@nzthiago bug can be closed. I did a test with newest version of the tooling and it worked!!!