class KafkaProducerRecord[K, V] extends AnyRef
Vert.x Kafka producer record.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KafkaProducerRecord
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new KafkaProducerRecord(_asJava: AnyRef)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[K], arg1: scala.reflect.api.JavaUniverse.TypeTag[V])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addHeader(header: KafkaHeader): KafkaProducerRecord[K, V]
Add an header to this record.
Add an header to this record. * @param header the header
- returns
current KafkaProducerRecord instance
-
def
addHeader(key: String, value: Buffer): KafkaProducerRecord[K, V]
Like io.vertx.scala.kafka.client.producer.KafkaProducerRecord#addHeader but with a key/value pair
-
def
addHeader(key: String, value: String): KafkaProducerRecord[K, V]
Like io.vertx.scala.kafka.client.producer.KafkaProducerRecord#addHeader but with a key/value pair
-
def
addHeaders(headers: Buffer[KafkaHeader]): KafkaProducerRecord[K, V]
Add a list of headers to this record.
Add a list of headers to this record. * @param headers the headers
- returns
current KafkaProducerRecord instance
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: AnyRef
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
headers(): Buffer[KafkaHeader]
- returns
the headers of this record
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
key(): K
- returns
the key (or null if no key is specified)
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
partition(): Int
- returns
the partition to which the record will be sent (or null if no partition was specified)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timestamp(): Long
- returns
the timestamp of this record
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
topic(): String
- returns
the topic this record is being sent to
-
def
value(): V
- returns
the value
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )