Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 861 Bytes

File metadata and controls

17 lines (15 loc) · 861 Bytes
author ggailey777
ms.service azure-functions
ms.topic include
ms.date 05/07/2025
ms.author glenga

The Event Hubs extension supports parameter types according to the table below.

Binding scenario Parameter types
Event Hubs trigger (single event) [Azure.Messaging.EventHubs.EventData]
JSON serializable types1
string
byte[]
[BinaryData]
Event Hubs trigger (batch of events) EventData[]
string[]
Event Hubs output (single event) [Azure.Messaging.EventHubs.EventData]
JSON serializable types1
string
byte[]
[BinaryData]
Event Hubs output (multiple events) ICollector<T> or IAsyncCollector<T> where T is one of the single event types

1 Events containing JSON data can be deserialized into known plain-old CLR object (POCO) types.