Table of Contents

Class ProducerRecord<K, V>

Namespace
Org.Apache.Kafka.Clients.Producer
Assembly
MASES.KNet.dll
public class ProducerRecord<K, V> : JVMBridgeBase<ProducerRecord<K, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition

Type Parameters

K
V
Inheritance
JVMBridgeBase
JVMBridgeBase<ProducerRecord<K, V>>
ProducerRecord<K, V>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ProducerRecord<K, V>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ProducerRecord<K, V>>.IsAssignableFrom<T>()
JVMBridgeBase<ProducerRecord<K, V>>.Execute<T>(params T[])
JVMBridgeBase<ProducerRecord<K, V>>.DynBridgeClazz
JVMBridgeBase<ProducerRecord<K, V>>.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.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

ProducerRecord()

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

public ProducerRecord()

ProducerRecord(String, Integer, Long, K, V)

public ProducerRecord(String arg0, Integer arg1, Long arg2, K arg3, V arg4)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 Long

Long

arg3 K

K

arg4 V

V

ProducerRecord(String, Integer, Long, K, V, Iterable<Header>)

public ProducerRecord(String arg0, Integer arg1, Long arg2, K arg3, V arg4, Iterable<Header> arg5)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 Long

Long

arg3 K

K

arg4 V

V

arg5 Iterable<Header>

Iterable

ProducerRecord(String, Integer, K, V)

public ProducerRecord(String arg0, Integer arg1, K arg2, V arg3)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 K

K

arg3 V

V

ProducerRecord(String, Integer, K, V, Iterable<Header>)

public ProducerRecord(String arg0, Integer arg1, K arg2, V arg3, Iterable<Header> arg4)

Parameters

arg0 String

String

arg1 Integer

Integer

arg2 K

K

arg3 V

V

arg4 Iterable<Header>

Iterable

ProducerRecord(String, K, V)

public ProducerRecord(String arg0, K arg1, V arg2)

Parameters

arg0 String

String

arg1 K

K

arg2 V

V

ProducerRecord(String, V)

public ProducerRecord(String arg0, V arg1)

Parameters

arg0 String

String

arg1 V

V

ProducerRecord(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public ProducerRecord(params object[] args)

Parameters

args object[]

ProducerRecord(string, int, DateTime, K, V)

public ProducerRecord(string topic, int partition, DateTime timestamp, K key, V value)

Parameters

topic string
partition int
timestamp DateTime
key K
value V

ProducerRecord(string, int, DateTime, K, V, Headers)

public ProducerRecord(string topic, int partition, DateTime timestamp, K key, V value, Headers headers)

Parameters

topic string
partition int
timestamp DateTime
key K
value V
headers Headers

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DateTime

public DateTime DateTime { get; }

Property Value

DateTime

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Headers()

public Headers Headers()

Returns

Headers

Headers

Key()

public K Key()

Returns

K

K

Partition()

public Integer Partition()

Returns

Integer

Integer

Timestamp()

public Long Timestamp()

Returns

Long

Long

Topic()

public String Topic()

Returns

String

String

Value()

public V Value()

Returns

V

V

Operators

implicit operator ProducerRecord(ProducerRecord<K, V>)

public static implicit operator ProducerRecord(ProducerRecord<K, V> t)

Parameters

t ProducerRecord<K, V>

Returns

ProducerRecord