Delen via


OffsetType Enum

Definition

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