I am using azure functions with an output Binding to an Event hub. There are cases where I cannot process the incoming data and therefore I also want to skip the Event hub output trigger. The functions call will fail if I just do not return anything. How should i handle this case correctly?
Thanks!
The return binding for event hub output requires exactly one output per function call. If you want 0 to x events per function call, you'll need to use the IAsyncCollector output binding like @silent mentioned in his comment.