Table of Contents

Class KNetSinkTask<TTask>

Namespace
MASES.KNet.Connect
Assembly
MASES.KNet.dll

An implementation of KNetTask<TTask> for sink task

public abstract class KNetSinkTask<TTask> : KNetTask<TTask>, IKNetTask, ITask, IKNetConnectLogging where TTask : KNetSinkTask<TTask>

Type Parameters

TTask

The class which extends KNetSinkTask<TTask>

Inheritance
KNetTask<TTask>
KNetSinkTask<TTask>
Implements
Derived
Inherited Members

Properties

Context

public SinkTaskContext Context { get; }

Property Value

SinkTaskContext

ReflectedTaskClassName

Set the ReflectedTaskClassName of the connector to a fixed value

public override string ReflectedTaskClassName { get; }

Property Value

string

Methods

Put(IEnumerable<SinkRecord>)

Implement the method to execute the Put action

public abstract void Put(IEnumerable<SinkRecord> collection)

Parameters

collection IEnumerable<SinkRecord>

The set of SinkRecord from Apache Kafka Connect framework

PutInternal()

Public method used from Java to trigger Put(IEnumerable<SinkRecord>)

public void PutInternal()