Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

OffsetType Enum

Definition

Namespace:
Microsoft.Azure.WebJobs.EventHubs
Assembly:
Microsoft.Azure.WebJobs.Extensions.EventHubs.dll
Package:
Microsoft.Azure.WebJobs.Extensions.EventHubs v6.5.3
Package:
Microsoft.Azure.WebJobs.Extensions.EventHubs v6.4.0-beta.1
Source:
OffsetType.cs
Source:
OffsetType.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

The types of offsets that can be configured in the InitialOffsetOptions.

public enum OffsetType
type OffsetType = 
Public Enum OffsetType
Inheritance
OffsetType

Fields

Name Value Description
FromStart 0

The default option if not specified. Will start processing from the start of the stream.

FromEnd 1

Will start processing events from the end of the stream. Use this option if you only want to process events that are added after the function starts.

FromEnqueuedTime 2

Will process events that were enqueued by Event Hubs on or after the specified time. Note that this applies to all Event Hubs partitions and there is no support for specifying a per-partition value.

Applies to


Feedback

Was this page helpful?