Class KNetConnectSinkTask
- Namespace
- MASES.KNet.Template.KNetConnect
- Assembly
- knetConnectSink.dll
public class KNetConnectSinkTask : KNetSinkTask<KNetConnectSinkTask>, IKNetSinkTask, IKNetTask, ITask, IKNetCommon, IKNetConnectLogging
- Inheritance
-
KNetConnectSinkTask
- Implements
- Inherited Members
Methods
Put(IEnumerable<SinkRecord>)
Implement the method to execute the Put action
public override void Put(IEnumerable<SinkRecord> collection)
Parameters
collectionIEnumerable<SinkRecord>The set of SinkRecord from Apache Kafka Connect framework
Start(IKNetConfigurationFromMap)
Implement the method to execute the start action
public override void Start(IKNetConfigurationFromMap props)
Parameters
propsIKNetConfigurationFromMapThe IKNetConfigurationFromMap to access the properties returned from Apache Kafka Connect framework: the Properties contains the info from TaskConfigs(int, int, IKNetTaskConfiguration).
Stop()
Implement the method to execute the stop action
public override void Stop()