Class: KafkaProducerRecord

vertx-kafka-client-js/kafka_producer_record~ KafkaProducerRecord

new KafkaProducerRecord()

Vert.x Kafka producer record.
Source:

Methods

key() → {Object}

Source:
Returns:
the key (or null if no key is specified)
Type
Object

partition() → {number}

Source:
Returns:
the partition to which the record will be sent (or null if no partition was specified)
Type
number

timestamp() → {number}

Source:
Returns:
the timestamp of this record
Type
number

topic() → {string}

Source:
Returns:
the topic this record is being sent to
Type
string

value() → {Object}

Source:
Returns:
the value
Type
Object