Class KafkaProducerRecord<K,V> 
java.lang.Object
io.vertx.mutiny.kafka.client.producer.KafkaProducerRecord<K,V> 
- All Implemented Interfaces:
- MutinyDelegate
Vert.x Kafka producer record.
 
 NOTE: This class has been automatically generated from the 
original non Mutiny-ified interface using Vert.x codegen.- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionKafkaProducerRecord(io.vertx.kafka.client.producer.KafkaProducerRecord delegate) KafkaProducerRecord(io.vertx.kafka.client.producer.KafkaProducerRecord delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1) 
- 
Method SummaryModifier and TypeMethodDescriptionaddHeader(KafkaHeader header) addHeaders(List<KafkaHeader> headers) static <K,V> KafkaProducerRecord<K, V> static <K,V> KafkaProducerRecord<K, V> static <K,V> KafkaProducerRecord<K, V> booleanio.vertx.kafka.client.producer.KafkaProducerRecordinthashCode()headers()key()static <K,V> KafkaProducerRecord<K, V> newInstance(io.vertx.kafka.client.producer.KafkaProducerRecord arg) static <K,V> KafkaProducerRecord<K, V> newInstance(io.vertx.kafka.client.producer.KafkaProducerRecord arg, TypeArg<K> __typeArg_K, TypeArg<V> __typeArg_V) topic()toString()value()
- 
Field Details- 
__TYPE_ARG
- 
__typeArg_0
- 
__typeArg_1
 
- 
- 
Constructor Details- 
KafkaProducerRecordpublic KafkaProducerRecord(io.vertx.kafka.client.producer.KafkaProducerRecord delegate) 
- 
KafkaProducerRecord
- 
KafkaProducerRecord
 
- 
- 
Method Details- 
getDelegatepublic io.vertx.kafka.client.producer.KafkaProducerRecord getDelegate()- Specified by:
- getDelegatein interface- MutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
- 
createpublic static <K,V> KafkaProducerRecord<K,V> create(String topic, K key, V value, Long timestamp, Integer partition) - Parameters:
- topic- the topic this record is being sent to
- key- the key (or null if no key is specified)
- value- the value
- timestamp- the timestamp of this record
- partition- the partition to which the record will be sent (or null if no partition was specified)
- Returns:
- Vert.x producer record
 
- 
create- Parameters:
- topic- the topic this record is being sent to
- key- the key (or null if no key is specified)
- value- the value
- Returns:
- Vert.x producer record
 
- 
create- Parameters:
- topic- the topic this record is being sent to
- value- the value
- Returns:
- Vert.x producer record
 
- 
topic- Returns:
- the topic this record is being sent to
 
- 
key- Returns:
- the key (or null if no key is specified)
 
- 
value- Returns:
- the value
 
- 
timestamp- Returns:
- the timestamp of this record
 
- 
partition- Returns:
- the partition to which the record will be sent (or null if no partition was specified)
 
- 
addHeader- Parameters:
- key-
- value-
- Returns:
- the instance of KafkaProducerRecord<K,V> to chain method calls.
 
- 
addHeader- Parameters:
- key-
- value-
- Returns:
- the instance of KafkaProducerRecord<K,V> to chain method calls.
 
- 
addHeader- Parameters:
- header- the header
- Returns:
- current KafkaProducerRecord instance
 
- 
addHeaders- Parameters:
- headers- the headers
- Returns:
- current KafkaProducerRecord instance
 
- 
headers- Returns:
- the headers of this record
 
- 
newInstancepublic static <K,V> KafkaProducerRecord<K,V> newInstance(io.vertx.kafka.client.producer.KafkaProducerRecord arg) 
- 
newInstancepublic static <K,V> KafkaProducerRecord<K,V> newInstance(io.vertx.kafka.client.producer.KafkaProducerRecord arg, TypeArg<K> __typeArg_K, TypeArg<V> __typeArg_V) 
 
-