Azure / azure-functions-eventhubs-extension

Event Hubs extension for Azure Functions
MIT License
20 stars 26 forks source link

EventHub outbinding having an issue when a same function try to send an event to two different EH namespace but having same EH name #91

Closed rkbalu closed 1 month ago

rkbalu commented 3 years ago

Hello Team,

We're noticing an issue when a function have a 2 EH outbuildings as below, and both having the same EH name, but onto the different EH namespace.

Code Snippet: public async Task Run ( [ActivityTrigger] ActivityInput activity, [EventHub("EH1", Connection= "EH-namespace1")] IAsyncCollector<EventData> eventHubCollector1, [EventHub("EH1", Connection= "EH-namespace2")] IAsyncCollector<EventData> eventHubCollector2, ILogger log)

When this is the function definition, IAsyncCollector sends the message always to the very first out binding (in our case eventHubCollector1). I.e., eventHubCollector2 will not receive anything.

Version: Azure Function v2 Microsoft.Azure.WebJobs.Extensions.EventHubs - v4.1.1

rkbalu commented 2 years ago

Hi @pragnagopa - Any update on this please?

rkbalu commented 11 months ago

Hello Team, Could someone update here if any progress made on this issue?

thanks!