Class ProducerRecord<K, V, TJVMK, TJVMV>
KNet extension of ProducerRecord<K, V>
public class ProducerRecord<K, V, TJVMK, TJVMV>
Type Parameters
K
V
TJVMK
TJVMV
- Inheritance
-
ProducerRecord<K, V, TJVMK, TJVMV>
- Derived
- Inherited Members
Constructors
ProducerRecord()
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord()
ProducerRecord(string, int, DateTime, K, V)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, int partition, DateTime timestamp, K key, V value)
Parameters
ProducerRecord(string, int, DateTime, K, V, Headers)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, int partition, DateTime timestamp, K key, V value, Headers headers)
Parameters
ProducerRecord(string, int, long, K, V)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, int partition, long timestamp, K key, V value)
Parameters
ProducerRecord(string, int, long, K, V, Headers)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, int partition, long timestamp, K key, V value, Headers headers)
Parameters
ProducerRecord(string, int, K, V)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, int partition, K key, V value)
Parameters
ProducerRecord(string, int, K, V, Headers)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, int partition, K key, V value, Headers headers)
Parameters
ProducerRecord(string, K, V)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, K key, V value)
Parameters
topic
stringkey
Kvalue
V
ProducerRecord(string, V)
Initialize a new ProducerRecord<K, V, TJVMK, TJVMV>
public ProducerRecord(string topic, V value)
Parameters
topic
stringvalue
V
Properties
DateTime
public DateTime? DateTime { get; }
Property Value
Headers
public Headers Headers { get; }
Property Value
Key
public K Key { get; }
Property Value
- K
K
Partition
public int? Partition { get; }
Property Value
Timestamp
public long? Timestamp { get; }
Property Value
Topic
public string Topic { get; }
Property Value
Value
public V Value { get; }
Property Value
- V
V
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.