# Module: vertx-kafka-client-js/kafka_producer_record

### Classes

KafkaProducerRecord

### Methods

#### (static) KafkaProducerRecord.create(topic, key, value, timestamp, partition) → {KafkaProducerRecord}

Create a concrete instance of a Vert.x producer record

##### Parameters:

Name | Type | Description
--- | --- | ---
`topic` | string | the topic this record is being sent to
`key` | Object | the key (or null if no key is specified)
`value` | Object | the value
`timestamp` | number | the timestamp of this record
`partition` | number | the partition to which the record will be sent (or null if no partition was specified)

Source:
  - vertx-kafka-client-js/kafka_producer_record.js, line 137

##### Returns:

Vert.x producer record

Type
  KafkaProducerRecord