Table of Contents

Class SinkRecord<TKey, TValue>

Namespace
Org.Apache.Kafka.Connect.Sink
Assembly
MASES.KNet.dll
public class SinkRecord<TKey, TValue> : ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

TKey
TValue
Inheritance
JVMBridgeBase
JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>
ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>
SinkRecord<TKey, TValue>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.IsAssignableFrom<T>()
JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.Execute<T>(params T[])
JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.DynBridgeClazz
JVMBridgeBase<ConnectRecord<SinkRecord<TKey, TValue>, TKey, TValue>>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Execute<T>(params T[])
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeInterface
JVMBridgeBase.IsBridgeStatic
JVMBridgeBase.IsBridgeCloseable
JVMBridgeBase.IsBridgeListener

Constructors

SinkRecord()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public SinkRecord()

SinkRecord(string, int, Schema, TKey, Schema, TValue, long)

public SinkRecord(string topic, int partition, Schema keySchema, TKey key, Schema valueSchema, TValue value, long kafkaOffset)

Parameters

topic string
partition int
keySchema Schema
key TKey
valueSchema Schema
value TValue
kafkaOffset long

SinkRecord(string, int, Schema, TKey, Schema, TValue, long, DateTime, TimestampType)

public SinkRecord(string topic, int partition, Schema keySchema, TKey key, Schema valueSchema, TValue value, long kafkaOffset, DateTime timestamp, TimestampType timestampType)

Parameters

topic string
partition int
keySchema Schema
key TKey
valueSchema Schema
value TValue
kafkaOffset long
timestamp DateTime
timestampType TimestampType

SinkRecord(string, int, Schema, TKey, Schema, TValue, long, DateTime, TimestampType, Headers)

public SinkRecord(string topic, int partition, Schema keySchema, TKey key, Schema valueSchema, TValue value, long kafkaOffset, DateTime timestamp, TimestampType timestampType, Headers headers)

Parameters

topic string
partition int
keySchema Schema
key TKey
valueSchema Schema
value TValue
kafkaOffset long
timestamp DateTime
timestampType TimestampType
headers Headers

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

KafkaOffset

Offset in Kafka

public long KafkaOffset { get; }

Property Value

long

TimestampType

public TimestampType TimestampType { get; }

Property Value

TimestampType

Operators

implicit operator SinkRecord(SinkRecord<TKey, TValue>)

public static implicit operator SinkRecord(SinkRecord<TKey, TValue> source)

Parameters

source SinkRecord<TKey, TValue>

The SinkRecord<TKey, TValue> to convert

Returns

SinkRecord