Package | Description |
---|---|
com.azure.messaging.eventhubs.models |
Package containing classes used for creating and configuring events that are being sent-to and received-from Azure
Event Hubs service.
|
Modifier and Type | Method and Description |
---|---|
SendOptions |
SendOptions.setPartitionId(String partitionId)
Sets the identifier of the Event Hub partition that the
events will be sent to. |
SendOptions |
SendOptions.setPartitionKey(String partitionKey)
Sets a hashing key to be provided for the batch of events, which instructs the Event Hubs service to map this key
to a specific partition.
|
Copyright © 2019 Microsoft Corporation. All rights reserved.