ProcessorPartitionClient allows you to receive events, similar to a [PartitionClient], with a checkpoint store for tracking progress. This type is instantiated from [Processor.NextPartitionClient], which handles load balancing of partition ownership between multiple [Processor] instances.
More...
#include <processor_partition_client.hpp>
◆ Close()
void Azure::Messaging::EventHubs::ProcessorPartitionClient::Close |
( |
Core::Context const & |
context = {} | ) |
|
|
inline |
- Parameters
-
context | The context to pass to the close operation. |
◆ ReceiveEvents()
std::vector< std::shared_ptr< const Models::ReceivedEventData > > Azure::Messaging::EventHubs::ProcessorPartitionClient::ReceiveEvents |
( |
uint32_t |
maxBatchSize, |
|
|
Core::Context const & |
context = {} |
|
) |
| |
|
inline |
Receives Events from the partition.
- Parameters
-
maxBatchSize | The maximum number of events to receive in a single call to the service. |
context | The context to pass to the update checkpoint operation. |
◆ UpdateCheckpoint()
void Azure::Messaging::EventHubs::ProcessorPartitionClient::UpdateCheckpoint |
( |
std::shared_ptr< const Models::ReceivedEventData > const & |
eventData, |
|
|
Core::Context const & |
context = {} |
|
) |
| |
Subsequent partition client reads will start from this event.
- Parameters
-
eventData | The event data to use for updating the checkpoint. |
context | The context to pass to the update checkpoint operation. |
The documentation for this class was generated from the following files: