Azure Event Hubs trigger and bindings for Azure Functions
This article explains how to work with Azure Event Hubs bindings for Azure Functions. Azure Functions supports trigger and output bindings for Event Hubs.
|Respond to events sent to an event hub event stream.||Trigger|
|Write events to an event stream||Output binding|
Add to your Functions app
Functions 2.x and higher
Working with the trigger and bindings requires that you reference the appropriate package. The NuGet package is used for .NET class libraries while the extension bundle is used for all other application types.
|C#||Installing the NuGet package, version 3.x|
|C# Script (online-only in Azure portal)||Adding a binding||To update existing binding extensions without having to republish your function app, see Update your extensions.|
Functions 1.x apps automatically have a reference the Microsoft.Azure.WebJobs NuGet package, version 2.x.