azure-messaging-eventhubs
Loading...
Searching...
No Matches
partition_client_models.hpp
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3#pragma once
4
5#include <azure/core/amqp.hpp>
6#include <azure/core/datetime.hpp>
7#include <azure/core/http/policies/policy.hpp>
8#include <azure/core/nullable.hpp>
9
10namespace Azure { namespace Messaging { namespace EventHubs { namespace Models {
11
17 struct StartPosition final
18 {
24 Azure::Nullable<int64_t> Offset;
25
29 Azure::Nullable<int64_t> SequenceNumber;
30
34 Azure::Nullable<Azure::DateTime> EnqueuedTime;
35
40 bool Inclusive{false};
41
44 Azure::Nullable<bool> Earliest;
45
48 Azure::Nullable<bool> Latest;
49 };
50 std::ostream& operator<<(std::ostream&, StartPosition const&);
51
52}}}} // namespace Azure::Messaging::EventHubs::Models
StartPosition indicates the position to start receiving events within a partition....
Definition partition_client_models.hpp:18
Azure::Nullable< bool > Earliest
Earliest will start the consumer at the earliest event.
Definition partition_client_models.hpp:44
Azure::Nullable< bool > Latest
Latest will start the consumer after the last event.
Definition partition_client_models.hpp:48
bool Inclusive
Inclusive configures whether the events directly at Offset, SequenceNumber or EnqueuedTime will be in...
Definition partition_client_models.hpp:40
Azure::Nullable< int64_t > Offset
Offset will start the consumer after the specified offset. Can be exclusive or inclusive,...
Definition partition_client_models.hpp:24
Azure::Nullable< int64_t > SequenceNumber
SequenceNumber will start the consumer after the specified sequence number. Can be exclusive or inclu...
Definition partition_client_models.hpp:29
Azure::Nullable< Azure::DateTime > EnqueuedTime
EnqueuedTime will start the consumer before events that were enqueued on or after EnqueuedTime....
Definition partition_client_models.hpp:34