Package | Description |
---|---|
io.vertx.rxjava3.kafka.client.producer |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<KafkaProducer> |
KafkaProducer.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static <K,V> KafkaProducer<K,V> |
KafkaProducer.create(Vertx vertx,
Map<String,String> config)
Create a new KafkaProducer instance
|
static <K,V> KafkaProducer<K,V> |
KafkaProducer.create(Vertx vertx,
Map<String,String> config,
Class<K> keyType,
Class<V> valueType)
Create a new KafkaProducer instance
|
static <K,V> KafkaProducer<K,V> |
KafkaProducer.create(Vertx vertx,
org.apache.kafka.clients.producer.Producer<K,V> producer)
Create a new KafkaProducer instance from a native .
|
static <K,V> KafkaProducer<K,V> |
KafkaProducer.create(Vertx vertx,
org.apache.kafka.clients.producer.Producer<K,V> producer,
KafkaClientOptions options)
Create a new KafkaProducer instance from a native .
|
static <K,V> KafkaProducer<K,V> |
KafkaProducer.createShared(Vertx vertx,
String name,
KafkaClientOptions options)
Get or create a KafkaProducer instance which shares its stream with any other KafkaProducer created with the same
name |
static <K,V> KafkaProducer<K,V> |
KafkaProducer.createShared(Vertx vertx,
String name,
KafkaClientOptions options,
Class<K> keyType,
Class<V> valueType)
Get or create a KafkaProducer instance which shares its stream with any other KafkaProducer created with the same
name |
static <K,V> KafkaProducer<K,V> |
KafkaProducer.createShared(Vertx vertx,
String name,
Map<String,String> config)
Get or create a KafkaProducer instance which shares its stream with any other KafkaProducer created with the same
name |
static <K,V> KafkaProducer<K,V> |
KafkaProducer.createShared(Vertx vertx,
String name,
Map<String,String> config,
Class<K> keyType,
Class<V> valueType)
Get or create a KafkaProducer instance which shares its stream with any other KafkaProducer created with the same
name |
KafkaProducer<K,V> |
KafkaProducer.drainHandler(Handler<Void> handler) |
KafkaProducer<K,V> |
KafkaProducer.exceptionHandler(Handler<Throwable> handler) |
static <K,V> KafkaProducer<K,V> |
KafkaProducer.newInstance(KafkaProducer arg) |
static <K,V> KafkaProducer<K,V> |
KafkaProducer.newInstance(KafkaProducer arg,
io.vertx.lang.rx.TypeArg<K> __typeArg_K,
io.vertx.lang.rx.TypeArg<V> __typeArg_V) |
KafkaProducer<K,V> |
KafkaProducer.setWriteQueueMaxSize(int i) |
Copyright © 2024 Eclipse. All rights reserved.