Table of Contents

Class KNetConnectSourceTask

Namespace
MASES.KNetTemplate.KNetConnect
Assembly
knetConnectSource.dll
public class KNetConnectSourceTask : KNetSourceTask<KNetConnectSourceTask>, IKNetTask, ITask, IKNetConnectLogging
Inheritance
KNetConnectSourceTask
Implements
Inherited Members

Methods

Poll()

Implement the method to execute the Poll action

public override IList<SourceRecord> Poll()

Returns

IList<SourceRecord>

The list of SourceRecord to return to 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()