This is a logical representation of receiving from a EventHub partition.
A PartitionReceiver is tied to a ConsumerGroup + Partition combination. If you are creating an epoch based PartitionReceiver (i.e. PartitionReceiver.Epoch != 0) you cannot have more than one active receiver per ConsumerGroup + Partition combo. You can have multiple receivers per ConsumerGroup + Partition combination with non-epoch receivers.
public abstract class PartitionReceiver : Microsoft.Azure.EventHubs.ClientEntity
type PartitionReceiver = class inherit ClientEntity
Public MustInherit Class PartitionReceiver Inherits ClientEntity
|PartitionReceiver(EventHubClient, String, String, EventPosition, Nullable<Int64>, ReceiverOptions)|
The default consumer group name: $Default.
Gets the client ID.(Inherited from ClientEntity)
The Consumer Group Name
Get the epoch value that this receiver is currently using for partition ownership.
A value of null means this receiver is not an epoch-based receiver.
The EventHubClient this PartitionReceiver was created from.
Gets the identifier of a receiver which was set during the creation of the receiver.
Returns a boolean representing whether client object is closed or not.(Inherited from ClientEntity)
Get the EventHub partition identifier.
Get Prefetch Count configured on the Receiver.
Gets a value indicating whether the runtime metric of a receiver is enabled.
Gets a list of currently registered plugins for this Client.(Inherited from ClientEntity)
Gets the RetryPolicy for the ClientEntity.(Inherited from ClientEntity)
Closes the ClientEntity.(Inherited from ClientEntity)
Closes and releases resources associated with PartitionReceiver.
Derived entity to override for retry policy updates.(Inherited from ClientEntity)
Receive a batch of EventData's from an EventHub partition
Receive a batch of EventData's from an EventHub partition by allowing wait time on each individual call.
Registers a EventHubsPlugin to be used with this client.(Inherited from ClientEntity)
Sets the IPartitionReceiveHandler to process events.
Throws an exception if client object is already closed.(Inherited from ClientEntity)
Unregisters a EventHubsPlugin.(Inherited from ClientEntity)