Table of Contents

Class KNetConnectSinkTask

Namespace
MASES.KNetTemplate.KNetConnect
Assembly
knetConnectSink.dll
public class KNetConnectSinkTask : KNetSinkTask<KNetConnectSinkTask>, IKNetTask, ITask, 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

collection IEnumerable<SinkRecord>

The set of SinkRecord from Apache Kafka Connect framework

Start(IReadOnlyDictionary<string, string>)

Implement the method to execute the start action

public override void Start(IReadOnlyDictionary<string, string> props)

Parameters

props IReadOnlyDictionary<string, string>

The set of properties returned from Apache Kafka Connect framework: the IReadOnlyDictionary<TKey, TValue> contains the info from TaskConfigs(int, IDictionary<string, string>).

Stop()

Implement the method to execute the stop action

public override void Stop()