IHighWaterMarkTypedOutputAdapterFactory<TConfigInfo>.Create<TPayload> Method (TConfigInfo, EventShape, DateTimeOffset, Int32)
Creates a typed output adapter that is able to replay events based on high-water mark checkpoint values.
Namespace: Microsoft.ComplexEventProcessing.Adapters
Assembly: Microsoft.ComplexEventProcessing.Adapters (in Microsoft.ComplexEventProcessing.Adapters.dll)
Syntax
OutputAdapterBase Create<TPayload>(
TConfigInfo configInfo,
EventShape eventShape,
DateTimeOffset highWaterMark,
int highWaterMarkEventOffset
)
Type Parameters
- TPayload
Type configuration information that is used to create the adapter.
Parameters
- configInfo
Type: TConfigInfo
Configuration information for the adapter.
- eventShape
Type: Microsoft.ComplexEventProcessing.EventShape
The shape of the events that are expected by the adapter.
- highWaterMark
Type: System.DateTimeOffset
A value that is used in conjunction with highWaterMarkEventOffset to identify the location of the checkpoint in the output stream. These two properties support the removal of duplicate events in the output stream after recovery.
- highWaterMarkEventOffset
Type: System.Int32
A value that is used in conjunction with highWaterMark to identify the location of the checkpoint in the output stream. These two properties support the removal of duplicate events in the output stream after recovery.
Return Value
Type: Microsoft.ComplexEventProcessing.Adapters.OutputAdapterBase
A typed output adapter that is able to replay events based on high-water mark checkpoint values.
Remarks
For more information, see Building Resilient StreamInsight Applications.
See Also
Reference
IHighWaterMarkTypedOutputAdapterFactory<TConfigInfo> Interface