azure-messaging-eventhubs
Loading...
Searching...
No Matches
processor_models.hpp
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3#pragma once
4#include "partition_client_models.hpp"
5
6#include <chrono>
7#include <string>
8namespace Azure { namespace Messaging { namespace EventHubs { namespace Models {
9
13 struct StartPositions final
14 {
19 std::map<std::string, StartPosition> PerPartition;
20
24 };
25}}}} // namespace Azure::Messaging::EventHubs::Models
StartPosition indicates the position to start receiving events within a partition....
Definition partition_client_models.hpp:18
StartPositions are used if there is no checkpoint for a partition in the checkpoint store.
Definition processor_models.hpp:14
std::map< std::string, StartPosition > PerPartition
PerPartition controls the start position for a specific partition, by partition ID....
Definition processor_models.hpp:19
StartPosition Default
Default is used if the partition is not found in the PerPartition map.
Definition processor_models.hpp:23