IHighWaterMarkOutputAdapterFactory<TConfigInfo>.Create Method (TConfigInfo, EventShape, CepEventType, DateTimeOffset, Int32)
Creates an untyped 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(
TConfigInfo configInfo,
EventShape eventShape,
CepEventType cepEventType,
DateTimeOffset highWaterMark,
int highWaterMarkEventOffset
)
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.
- cepEventType
Type: Microsoft.ComplexEventProcessing.CepEventType
The type of event that is 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
An untyped output adapter that is able to replay events based on high-water mark checkpoint values.
Remarks
For more information, see Building Resilient StreamInsight Applications.