C# Class EventHubListenerLib.EventHubListenerOptions

describes how an Event Hub Listener will operate.
显示文件 Open project: khenidak/service-fabric-eventhub-listener Class Usage Examples

Public Methods

Method Description
EventHubListenerOptions ( string currentPartitionId ) : EventHubListenerLib.Common
EventHubListenerOptions ( string currentPartitionId, Uri serviceName, FabricClient fabricClient = null ) : EventHubListenerLib.Common
StartWithEventsNewerThan ( System.DateTime startUTCDateTime ) : EventHubListenerOptions
StartWithOffset ( string offSet, bool IsInclusive ) : EventHubListenerOptions
UseEpoch ( long epoch ) : EventHubListenerOptions

Private Methods

Method Description
DistributeOverServicePartitions ( string orderEventHubPartition ) : string[]
PrepareAsync ( ) : System.Threading.Tasks.Task
ResolveAssignedEventHubPartitions ( string EventHubPartitionsIds ) : string[]
SetServicePartitionListAsync ( ) : System.Threading.Tasks.Task

Method Details

EventHubListenerOptions() public method

public EventHubListenerOptions ( string currentPartitionId ) : EventHubListenerLib.Common
currentPartitionId string
return EventHubListenerLib.Common

EventHubListenerOptions() public method

public EventHubListenerOptions ( string currentPartitionId, Uri serviceName, FabricClient fabricClient = null ) : EventHubListenerLib.Common
currentPartitionId string
serviceName System.Uri
fabricClient FabricClient
return EventHubListenerLib.Common

StartWithEventsNewerThan() public method

public StartWithEventsNewerThan ( System.DateTime startUTCDateTime ) : EventHubListenerOptions
startUTCDateTime System.DateTime
return EventHubListenerOptions

StartWithOffset() public method

public StartWithOffset ( string offSet, bool IsInclusive ) : EventHubListenerOptions
offSet string
IsInclusive bool
return EventHubListenerOptions

UseEpoch() public method

public UseEpoch ( long epoch ) : EventHubListenerOptions
epoch long
return EventHubListenerOptions