|
1 | 1 | ---
|
2 |
| -author: craigshoemaker |
| 2 | +author: ggailey777 |
3 | 3 | ms.service: azure-functions
|
4 | 4 | ms.topic: include
|
5 | 5 | ms.date: 11/15/2021
|
6 |
| -ms.author: cshoe |
| 6 | +ms.author: glenga |
7 | 7 | ---
|
8 | 8 |
|
9 | 9 | Use the function trigger to respond to an event sent to an event hub event stream. You must have read access to the underlying event hub to set up the trigger. When the function is triggered, the message passed to the function is typed as a string.
|
@@ -284,7 +284,7 @@ public void eventHubProcessor(
|
284 | 284 | }
|
285 | 285 | ```
|
286 | 286 |
|
287 |
| - In the [Java functions runtime library](/java/api/overview/azure/functions/runtime), use the `EventHubTrigger` annotation on parameters whose value would come from Event Hub. Parameters with these annotations cause the function to run when an event arrives. This annotation can be used with native Java types, POJOs, or nullable values using `Optional<T>`. |
| 287 | + In the [Java functions runtime library](/java/api/overview/azure/functions/runtime), use the `EventHubTrigger` annotation on parameters whose value comes from the event hub. Parameters with these annotations cause the function to run when an event arrives. This annotation can be used with native Java types, POJOs, or nullable values using `Optional<T>`. |
288 | 288 |
|
289 | 289 | ::: zone-end
|
290 | 290 | ::: zone pivot="programming-language-csharp"
|
@@ -452,14 +452,12 @@ The Event Hubs trigger provides several [metadata properties](../articles/azure-
|
452 | 452 | |--------|----|-----------|
|
453 | 453 | |`PartitionContext`|[PartitionContext](/dotnet/api/microsoft.servicebus.messaging.partitioncontext)|The `PartitionContext` instance.|
|
454 | 454 | |`EnqueuedTimeUtc`|`DateTime`|The enqueued time in UTC.|
|
455 |
| -|`Offset`|`string`|The offset of the data relative to the Event Hub partition stream. The offset is a marker or identifier for an event within the Event Hubs stream. The identifier is unique within a partition of the Event Hubs stream.| |
| 455 | +|`Offset`|`string`|The offset of the data relative to the event hub partition stream. The offset is a marker or identifier for an event within the Event Hubs stream. The identifier is unique within a partition of the Event Hubs stream.| |
456 | 456 | |`PartitionKey`|`string`|The partition to which event data should be sent.|
|
457 | 457 | |`Properties`|`IDictionary<String,Object>`|The user properties of the event data.|
|
458 | 458 | |`SequenceNumber`|`Int64`|The logical sequence number of the event.|
|
459 | 459 | |`SystemProperties`|`IDictionary<String,Object>`|The system properties, including the event data.|
|
460 | 460 |
|
461 | 461 | See [code examples](#example) that use these properties earlier in this article.
|
462 | 462 |
|
463 |
| -[!INCLUDE [functions-event-hubs-connections](./functions-event-hubs-connections.md)] |
464 |
| - |
465 |
| -[EventHubTriggerAttribute]: /dotnet/api/microsoft.azure.webjobs.eventhubtriggerattribute |
| 463 | +[EventHubTriggerAttribute]: /dotnet/api/microsoft.azure.webjobs.eventhubtriggerattribute |
0 commit comments