Class KafkaHeader
- java.lang.Object
-
- io.vertx.mutiny.kafka.client.producer.KafkaHeader
-
public class KafkaHeader extends Object
Vert.x Kafka producer record header. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<KafkaHeader>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description KafkaHeader(io.vertx.kafka.client.producer.KafkaHeader delegate)
KafkaHeader(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
io.vertx.kafka.client.producer.KafkaHeader
getDelegate()
int
hashCode()
static KafkaHeader
header(String key, Buffer value)
static KafkaHeader
header(String key, String value)
String
key()
static KafkaHeader
newInstance(io.vertx.kafka.client.producer.KafkaHeader arg)
String
toString()
Buffer
value()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<KafkaHeader> __TYPE_ARG
-
-
Constructor Detail
-
KafkaHeader
public KafkaHeader(io.vertx.kafka.client.producer.KafkaHeader delegate)
-
KafkaHeader
public KafkaHeader(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.kafka.client.producer.KafkaHeader getDelegate()
-
header
public static KafkaHeader header(String key, Buffer value)
-
header
public static KafkaHeader header(String key, String value)
-
key
public String key()
- Returns:
- the buffer key
-
value
public Buffer value()
- Returns:
- the buffer value
-
newInstance
public static KafkaHeader newInstance(io.vertx.kafka.client.producer.KafkaHeader arg)
-
-