Class KNetSinkTask<TTask>
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
The SinkTaskContext
public SinkTaskContext Context { get; }
Property Value
ReflectedTaskClassName
Set the ReflectedTaskClassName of the connector to a fixed value
public override string ReflectedTaskClassName { get; }
Property Value
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()