Class KafkaProducer<K,V>
- java.lang.Object
-
- io.vertx.mutiny.kafka.client.producer.KafkaProducer<K,V>
-
- All Implemented Interfaces:
StreamBase
,WriteStream<KafkaProducerRecord<K,V>>
public class KafkaProducer<K,V> extends Object implements WriteStream<KafkaProducerRecord<K,V>>
Vert.x Kafka producer.The
NOTE: This class has been automatically generated from theWriteStream.write(T)
provides global control over writing a record.original
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<KafkaProducer>
__TYPE_ARG
TypeArg<K>
__typeArg_0
TypeArg<V>
__typeArg_1
-
Constructor Summary
Constructors Constructor Description KafkaProducer(io.vertx.kafka.client.producer.KafkaProducer delegate)
KafkaProducer(io.vertx.kafka.client.producer.KafkaProducer delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1)
KafkaProducer(Object delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.smallrye.mutiny.Uni<Void>
abortTransaction()
Aborts the ongoing transaction.Void
abortTransactionAndAwait()
Blocking variant ofabortTransaction()
.KafkaProducer<K,V>
abortTransactionAndForget()
Variant ofabortTransaction()
that ignores the result of the operation.io.smallrye.mutiny.Uni<Void>
beginTransaction()
Starts a new kafka transaction.Void
beginTransactionAndAwait()
Blocking variant ofbeginTransaction()
.KafkaProducer<K,V>
beginTransactionAndForget()
Variant ofbeginTransaction()
that ignores the result of the operation.io.smallrye.mutiny.Uni<Void>
close()
Close the producerio.smallrye.mutiny.Uni<Void>
close(long timeout)
Close the producerVoid
closeAndAwait()
Blocking variant ofclose()
.Void
closeAndAwait(long timeout)
Blocking variant ofclose(long)
.void
closeAndForget()
Variant ofclose()
that ignores the result of the operation.void
closeAndForget(long timeout)
Variant ofclose(long)
that ignores the result of the operation.io.smallrye.mutiny.Uni<Void>
commitTransaction()
Commits the ongoing transaction.Void
commitTransactionAndAwait()
Blocking variant ofcommitTransaction()
.KafkaProducer<K,V>
commitTransactionAndForget()
Variant ofcommitTransaction()
that ignores the result of the operation.static <K,V>
KafkaProducer<K,V>create(Vertx vertx, Map<String,String> config)
static <K,V>
KafkaProducer<K,V>create(Vertx vertx, Map<String,String> config, Class<K> keyType, Class<V> valueType)
static <K,V>
KafkaProducer<K,V>createShared(Vertx vertx, String name, io.vertx.kafka.client.common.KafkaClientOptions options)
static <K,V>
KafkaProducer<K,V>createShared(Vertx vertx, String name, io.vertx.kafka.client.common.KafkaClientOptions options, Class<K> keyType, Class<V> valueType)
static <K,V>
KafkaProducer<K,V>createShared(Vertx vertx, String name, Map<String,String> config)
static <K,V>
KafkaProducer<K,V>createShared(Vertx vertx, String name, Map<String,String> config, Class<K> keyType, Class<V> valueType)
KafkaProducer<K,V>
drainHandler(Runnable handler)
io.smallrye.mutiny.Uni<Void>
end()
Same asWriteStream.end()
but with anhandler
called when the operation completesio.smallrye.mutiny.Uni<Void>
end(KafkaProducerRecord<K,V> data)
Same as but with anhandler
called when the operation completesVoid
endAndAwait()
Blocking variant ofWriteStream.end()
.Void
endAndAwait(KafkaProducerRecord<K,V> data)
Blocking variant ofio.vertx.mutiny.core.streams.WriteStream#end(T)
.void
endAndForget()
Variant ofWriteStream.end()
that ignores the result of the operation.void
endAndForget(KafkaProducerRecord<K,V> data)
Variant ofio.vertx.mutiny.core.streams.WriteStream#end(T)
that ignores the result of the operation.boolean
equals(Object o)
KafkaProducer<K,V>
exceptionHandler(Consumer<Throwable> handler)
io.smallrye.mutiny.Uni<Void>
flush()
Invoking this method makes all buffered records immediately available to writeVoid
flushAndAwait()
Blocking variant offlush()
.KafkaProducer<K,V>
flushAndForget()
Variant offlush()
that ignores the result of the operation.io.vertx.kafka.client.producer.KafkaProducer
getDelegate()
int
hashCode()
io.smallrye.mutiny.Uni<Void>
initTransactions()
Initializes the underlying kafka transactional producer.Void
initTransactionsAndAwait()
Blocking variant ofinitTransactions()
.KafkaProducer<K,V>
initTransactionsAndForget()
Variant ofinitTransactions()
that ignores the result of the operation.static <K,V>
KafkaProducer<K,V>newInstance(io.vertx.kafka.client.producer.KafkaProducer arg)
static <K,V>
KafkaProducer<K,V>newInstance(io.vertx.kafka.client.producer.KafkaProducer arg, TypeArg<K> __typeArg_K, TypeArg<V> __typeArg_V)
io.smallrye.mutiny.Uni<List<io.vertx.kafka.client.common.PartitionInfo>>
partitionsFor(String topic)
Get the partition metadata for the give topic.List<io.vertx.kafka.client.common.PartitionInfo>
partitionsForAndAwait(String topic)
Blocking variant ofpartitionsFor(String)
.KafkaProducer<K,V>
partitionsForAndForget(String topic)
Variant ofpartitionsFor(String)
that ignores the result of the operation.io.smallrye.mutiny.Uni<io.vertx.kafka.client.producer.RecordMetadata>
send(KafkaProducerRecord<K,V> record)
Asynchronously write a record to a topicio.vertx.kafka.client.producer.RecordMetadata
sendAndAwait(KafkaProducerRecord<K,V> record)
Blocking variant ofsend(io.vertx.mutiny.kafka.client.producer.KafkaProducerRecord)
.KafkaProducer<K,V>
sendAndForget(KafkaProducerRecord<K,V> record)
Variant ofsend(io.vertx.mutiny.kafka.client.producer.KafkaProducerRecord)
that ignores the result of the operation.KafkaProducer<K,V>
setWriteQueueMaxSize(int i)
String
toString()
WriteStreamSubscriber<KafkaProducerRecord<K,V>>
toSubscriber()
io.smallrye.mutiny.Uni<Void>
write(KafkaProducerRecord<K,V> arg0)
Same as but with anhandler
called when the operation completesVoid
writeAndAwait(KafkaProducerRecord<K,V> arg0)
Blocking variant ofio.vertx.mutiny.core.streams.WriteStream#write(T)
.void
writeAndForget(KafkaProducerRecord<K,V> arg0)
Variant ofio.vertx.mutiny.core.streams.WriteStream#write(T)
that ignores the result of the operation.boolean
writeQueueFull()
-
-
-
Method Detail
-
getDelegate
public io.vertx.kafka.client.producer.KafkaProducer getDelegate()
- Specified by:
getDelegate
in interfaceStreamBase
- Specified by:
getDelegate
in interfaceWriteStream<K>
-
toSubscriber
@CheckReturnValue public WriteStreamSubscriber<KafkaProducerRecord<K,V>> toSubscriber()
-
write
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> write(KafkaProducerRecord<K,V> arg0)
Description copied from interface:WriteStream
Same as but with anhandler
called when the operation completesUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Specified by:
write
in interfaceWriteStream<K>
- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
writeAndAwait
public Void writeAndAwait(KafkaProducerRecord<K,V> arg0)
Description copied from interface:WriteStream
Blocking variant ofio.vertx.mutiny.core.streams.WriteStream#write(T)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Specified by:
writeAndAwait
in interfaceWriteStream<K>
- Returns:
- the Void instance produced by the operation.
-
writeAndForget
public void writeAndForget(KafkaProducerRecord<K,V> arg0)
Description copied from interface:WriteStream
Variant ofio.vertx.mutiny.core.streams.WriteStream#write(T)
that ignores the result of the operation.This method subscribes on the result of
io.vertx.mutiny.core.streams.WriteStream#write(T)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromio.vertx.mutiny.core.streams.WriteStream#write(T)
but you don't need to compose it with other operations.- Specified by:
writeAndForget
in interfaceWriteStream<K>
-
end
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> end()
Description copied from interface:WriteStream
Same asWriteStream.end()
but with anhandler
called when the operation completesUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Specified by:
end
in interfaceWriteStream<K>
- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
endAndAwait
public Void endAndAwait()
Description copied from interface:WriteStream
Blocking variant ofWriteStream.end()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Specified by:
endAndAwait
in interfaceWriteStream<K>
- Returns:
- the Void instance produced by the operation.
-
endAndForget
public void endAndForget()
Description copied from interface:WriteStream
Variant ofWriteStream.end()
that ignores the result of the operation.This method subscribes on the result of
WriteStream.end()
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromWriteStream.end()
but you don't need to compose it with other operations.- Specified by:
endAndForget
in interfaceWriteStream<K>
-
end
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> end(KafkaProducerRecord<K,V> data)
Description copied from interface:WriteStream
Same as but with anhandler
called when the operation completesUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Specified by:
end
in interfaceWriteStream<K>
- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
endAndAwait
public Void endAndAwait(KafkaProducerRecord<K,V> data)
Description copied from interface:WriteStream
Blocking variant ofio.vertx.mutiny.core.streams.WriteStream#end(T)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Specified by:
endAndAwait
in interfaceWriteStream<K>
- Returns:
- the Void instance produced by the operation.
-
endAndForget
public void endAndForget(KafkaProducerRecord<K,V> data)
Description copied from interface:WriteStream
Variant ofio.vertx.mutiny.core.streams.WriteStream#end(T)
that ignores the result of the operation.This method subscribes on the result of
io.vertx.mutiny.core.streams.WriteStream#end(T)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromio.vertx.mutiny.core.streams.WriteStream#end(T)
but you don't need to compose it with other operations.- Specified by:
endAndForget
in interfaceWriteStream<K>
-
writeQueueFull
public boolean writeQueueFull()
- Specified by:
writeQueueFull
in interfaceWriteStream<K>
- Returns:
true
if write queue is full
-
createShared
public static <K,V> KafkaProducer<K,V> createShared(Vertx vertx, String name, Map<String,String> config)
- Parameters:
vertx
- Vert.x instance to usename
- the producer name to identify itconfig
- Kafka producer configuration- Returns:
- an instance of the KafkaProducer
-
createShared
public static <K,V> KafkaProducer<K,V> createShared(Vertx vertx, String name, io.vertx.kafka.client.common.KafkaClientOptions options)
- Parameters:
vertx
- Vert.x instance to usename
- the producer name to identify itoptions
- Kafka producer options- Returns:
- an instance of the KafkaProducer
-
createShared
public static <K,V> KafkaProducer<K,V> createShared(Vertx vertx, String name, Map<String,String> config, Class<K> keyType, Class<V> valueType)
- Parameters:
vertx
- Vert.x instance to usename
- the producer name to identify itconfig
- Kafka producer configurationkeyType
- class type for the key serializationvalueType
- class type for the value serialization- Returns:
- an instance of the KafkaProducer
-
createShared
public static <K,V> KafkaProducer<K,V> createShared(Vertx vertx, String name, io.vertx.kafka.client.common.KafkaClientOptions options, Class<K> keyType, Class<V> valueType)
- Parameters:
vertx
- Vert.x instance to usename
- the producer name to identify itoptions
- Kafka producer optionskeyType
- class type for the key serializationvalueType
- class type for the value serialization- Returns:
- an instance of the KafkaProducer
-
create
public static <K,V> KafkaProducer<K,V> create(Vertx vertx, Map<String,String> config)
- Parameters:
vertx
- Vert.x instance to useconfig
- Kafka producer configuration- Returns:
- an instance of the KafkaProducer
-
create
public static <K,V> KafkaProducer<K,V> create(Vertx vertx, Map<String,String> config, Class<K> keyType, Class<V> valueType)
- Parameters:
vertx
- Vert.x instance to useconfig
- Kafka producer configurationkeyType
- class type for the key serializationvalueType
- class type for the value serialization- Returns:
- an instance of the KafkaProducer
-
initTransactions
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> initTransactions()
Initializes the underlying kafka transactional producer. SeeinitTransactions()
()}Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
initTransactionsAndAwait
public Void initTransactionsAndAwait()
Blocking variant ofinitTransactions()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
- the Void instance produced by the operation.
-
initTransactionsAndForget
public KafkaProducer<K,V> initTransactionsAndForget()
Variant ofinitTransactions()
that ignores the result of the operation.This method subscribes on the result of
initTransactions()
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation frominitTransactions()
but you don't need to compose it with other operations.- Returns:
- the instance of KafkaProducer
to chain method calls.
-
beginTransaction
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> beginTransaction()
Starts a new kafka transaction. SeebeginTransaction()
Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
beginTransactionAndAwait
public Void beginTransactionAndAwait()
Blocking variant ofbeginTransaction()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
- the Void instance produced by the operation.
-
beginTransactionAndForget
public KafkaProducer<K,V> beginTransactionAndForget()
Variant ofbeginTransaction()
that ignores the result of the operation.This method subscribes on the result of
beginTransaction()
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation frombeginTransaction()
but you don't need to compose it with other operations.- Returns:
- the instance of KafkaProducer
to chain method calls.
-
commitTransaction
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> commitTransaction()
Commits the ongoing transaction. SeecommitTransaction()
Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
commitTransactionAndAwait
public Void commitTransactionAndAwait()
Blocking variant ofcommitTransaction()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
- the Void instance produced by the operation.
-
commitTransactionAndForget
public KafkaProducer<K,V> commitTransactionAndForget()
Variant ofcommitTransaction()
that ignores the result of the operation.This method subscribes on the result of
commitTransaction()
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromcommitTransaction()
but you don't need to compose it with other operations.- Returns:
- the instance of KafkaProducer
to chain method calls.
-
abortTransaction
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> abortTransaction()
Aborts the ongoing transaction. SeeKafkaProducer
Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
abortTransactionAndAwait
public Void abortTransactionAndAwait()
Blocking variant ofabortTransaction()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
- the Void instance produced by the operation.
-
abortTransactionAndForget
public KafkaProducer<K,V> abortTransactionAndForget()
Variant ofabortTransaction()
that ignores the result of the operation.This method subscribes on the result of
abortTransaction()
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromabortTransaction()
but you don't need to compose it with other operations.- Returns:
- the instance of KafkaProducer
to chain method calls.
-
exceptionHandler
public KafkaProducer<K,V> exceptionHandler(Consumer<Throwable> handler)
- Specified by:
exceptionHandler
in interfaceStreamBase
- Specified by:
exceptionHandler
in interfaceWriteStream<K>
- Parameters:
handler
- the exception handler- Returns:
-
setWriteQueueMaxSize
public KafkaProducer<K,V> setWriteQueueMaxSize(int i)
- Specified by:
setWriteQueueMaxSize
in interfaceWriteStream<K>
- Parameters:
i
- the max size of the write stream- Returns:
- a reference to this, so the API can be used fluently
-
drainHandler
public KafkaProducer<K,V> drainHandler(Runnable handler)
- Specified by:
drainHandler
in interfaceWriteStream<K>
- Parameters:
handler
- the handler- Returns:
-
send
@CheckReturnValue public io.smallrye.mutiny.Uni<io.vertx.kafka.client.producer.RecordMetadata> send(KafkaProducerRecord<K,V> record)
Asynchronously write a record to a topicUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
record
- record to write- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
sendAndAwait
public io.vertx.kafka.client.producer.RecordMetadata sendAndAwait(KafkaProducerRecord<K,V> record)
Blocking variant ofsend(io.vertx.mutiny.kafka.client.producer.KafkaProducerRecord)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
record
- record to write- Returns:
- the RecordMetadata instance produced by the operation.
-
sendAndForget
public KafkaProducer<K,V> sendAndForget(KafkaProducerRecord<K,V> record)
Variant ofsend(io.vertx.mutiny.kafka.client.producer.KafkaProducerRecord)
that ignores the result of the operation.This method subscribes on the result of
send(io.vertx.mutiny.kafka.client.producer.KafkaProducerRecord)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromsend(io.vertx.mutiny.kafka.client.producer.KafkaProducerRecord)
but you don't need to compose it with other operations.- Parameters:
record
- record to write- Returns:
- the instance of KafkaProducer
to chain method calls.
-
partitionsFor
@CheckReturnValue public io.smallrye.mutiny.Uni<List<io.vertx.kafka.client.common.PartitionInfo>> partitionsFor(String topic)
Get the partition metadata for the give topic.Unlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
topic
- topic partition for which getting partitions info- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
partitionsForAndAwait
public List<io.vertx.kafka.client.common.PartitionInfo> partitionsForAndAwait(String topic)
Blocking variant ofpartitionsFor(String)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
topic
- topic partition for which getting partitions info- Returns:
- the List
instance produced by the operation.
-
partitionsForAndForget
public KafkaProducer<K,V> partitionsForAndForget(String topic)
Variant ofpartitionsFor(String)
that ignores the result of the operation.This method subscribes on the result of
partitionsFor(String)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation frompartitionsFor(String)
but you don't need to compose it with other operations.- Parameters:
topic
- topic partition for which getting partitions info- Returns:
- the instance of KafkaProducer
to chain method calls.
-
flush
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> flush()
Invoking this method makes all buffered records immediately available to writeUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
flushAndAwait
public Void flushAndAwait()
Blocking variant offlush()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
- the Void instance produced by the operation.
-
flushAndForget
public KafkaProducer<K,V> flushAndForget()
Variant offlush()
that ignores the result of the operation.This method subscribes on the result of
flush()
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromflush()
but you don't need to compose it with other operations.- Returns:
- the instance of KafkaProducer
to chain method calls.
-
close
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> close()
Close the producerUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
closeAndAwait
public Void closeAndAwait()
Blocking variant ofclose()
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Returns:
- the Void instance produced by the operation.
-
closeAndForget
public void closeAndForget()
-
close
@CheckReturnValue public io.smallrye.mutiny.Uni<Void> close(long timeout)
Close the producerUnlike the bare Vert.x variant, this method returns a
Uni
. Don't forget to subscribe on it to trigger the operation.- Parameters:
timeout
- timeout to wait for closing- Returns:
- the
uni
firing the result of the operation when completed, or a failure if the operation failed.
-
closeAndAwait
public Void closeAndAwait(long timeout)
Blocking variant ofclose(long)
.This method waits for the completion of the underlying asynchronous operation. If the operation completes successfully, the result is returned, otherwise the failure is thrown (potentially wrapped in a RuntimeException).
- Parameters:
timeout
- timeout to wait for closing- Returns:
- the Void instance produced by the operation.
-
closeAndForget
public void closeAndForget(long timeout)
Variant ofclose(long)
that ignores the result of the operation.This method subscribes on the result of
close(long)
, but discards the outcome (item or failure). This method is useful to trigger the asynchronous operation fromclose(long)
but you don't need to compose it with other operations.- Parameters:
timeout
- timeout to wait for closing
-
newInstance
public static <K,V> KafkaProducer<K,V> newInstance(io.vertx.kafka.client.producer.KafkaProducer arg)
-
newInstance
public static <K,V> KafkaProducer<K,V> newInstance(io.vertx.kafka.client.producer.KafkaProducer arg, TypeArg<K> __typeArg_K, TypeArg<V> __typeArg_V)
-
-