Table of Contents

Class ProducerRecord<K, V, TJVMK, TJVMV>

Namespace
MASES.KNet.Producer
Assembly
MASES.KNet.dll

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()

public ProducerRecord()

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

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

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

Parameters

topic string
partition int
timestamp long
key K
value V

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

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

Parameters

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

ProducerRecord(string, int, K, V)

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

Parameters

topic string
partition int
key K
value V

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

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

Parameters

topic string
partition int
key K
value V
headers Headers

ProducerRecord(string, K, V)

public ProducerRecord(string topic, K key, V value)

Parameters

topic string
key K
value V

ProducerRecord(string, V)

public ProducerRecord(string topic, V value)

Parameters

topic string
value V

Properties

DateTime

public DateTime? DateTime { get; }

Property Value

DateTime?

Headers

public Headers Headers { get; }

Property Value

Headers

Headers

Key

public K Key { get; }

Property Value

K

K

Partition

public int? Partition { get; }

Property Value

int?

Integer

Timestamp

public long? Timestamp { get; }

Property Value

long?

Long

Topic

public string Topic { get; }

Property Value

string

String

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.