Uses of Class
io.vertx.mutiny.kafka.client.producer.KafkaProducer
Packages that use KafkaProducer
-
Uses of KafkaProducer in io.vertx.mutiny.kafka.client.producer
Fields in io.vertx.mutiny.kafka.client.producer with type parameters of type KafkaProducerMethods in io.vertx.mutiny.kafka.client.producer that return KafkaProducerModifier and TypeMethodDescriptionKafkaProducer.abortTransactionAndForget()Aborts the ongoing transaction.KafkaProducer.beginTransactionAndForget()Starts a new kafka transaction.KafkaProducer.closeAndForget()Close the producerKafkaProducer.closeAndForget(long timeout) Close the producerKafkaProducer.commitTransactionAndForget()Commits the ongoing transaction.static <K,V> KafkaProducer<K, V> Create a new KafkaProducer instancestatic <K,V> KafkaProducer<K, V> Create a new KafkaProducer instancestatic <K,V> KafkaProducer<K, V> Create a new KafkaProducer instance from a nativeProducer.static <K,V> KafkaProducer<K, V> KafkaProducer.create(Vertx vertx, org.apache.kafka.clients.producer.Producer<K, V> producer, io.vertx.kafka.client.common.KafkaClientOptions options) Create a new KafkaProducer instance from a nativeProducer.static <K,V> KafkaProducer<K, V> KafkaProducer.createShared(Vertx vertx, String name, io.vertx.kafka.client.common.KafkaClientOptions options) Get or create a KafkaProducer instance which shares its stream with any other KafkaProducer created with the samenamestatic <K,V> KafkaProducer<K, V> KafkaProducer.createShared(Vertx vertx, String name, io.vertx.kafka.client.common.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 samenamestatic <K,V> KafkaProducer<K, V> Get or create a KafkaProducer instance which shares its stream with any other KafkaProducer created with the samenamestatic <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 samenameKafkaProducer.drainHandler(Runnable handler) KafkaProducer.endAndForget()Ends the stream.KafkaProducer.endAndForget(KafkaProducerRecord<K, V> data) Same asend()but writes some data to the stream before ending.KafkaProducer.exceptionHandler(Consumer<Throwable> handler) KafkaProducer.flushAndForget()Invoking this method makes all buffered records immediately available to writeKafkaProducer.initTransactionsAndForget()Initializes the underlying kafka transactional producer.static <K,V> KafkaProducer<K, V> KafkaProducer.newInstance(io.vertx.kafka.client.producer.KafkaProducer<K, V> delegate) Creates a new instance of theKafkaProducer.static <K,V> KafkaProducer<K, V> KafkaProducer.newInstance(io.vertx.kafka.client.producer.KafkaProducer<K, V> delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1) Creates a new instance of theKafkaProducer.KafkaProducer.partitionsForAndForget(String topic) Get the partition metadata for the give topic.KafkaProducer.sendAndForget(KafkaProducerRecord<K, V> record) Asynchronously write a record to a topicKafkaProducer.setWriteQueueMaxSize(int i) KafkaProducer.writeAndForget(KafkaProducerRecord<K, V> data) Write some data to the stream.