Home:ALL Converter>Azure Function with multiple output to same EventHub does not work

Azure Function with multiple output to same EventHub does not work

Ask Time:2018-06-08T22:07:29         Author:toto'

Json Formatter

I have Azure Function with two output binding to Azure EventHub. Output are to same EH but different topics. It works properly as long as the out message goes to one topic. If out goes to both topic i get error like:

Exception while executing function: Functions.EventHubTriggerCSharp1. 
Microsoft.Azure.WebJobs.Host: Error while handling parameter 
outputEventHubMessageColdPath after function returned:. Microsoft.ServiceBus:
This event data instance has already been disposed.

Although the message is sent to only 1 topics. Do you have any idea why i cannot get message on both topics? By the way code is related to: Azure Function with Event Hub out binding does not work

thanks

Author:toto',eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50762476/azure-function-with-multiple-output-to-same-eventhub-does-not-work
yy