Uses of Interface
io.vertx.kafka.client.producer.KafkaProducer

Packages that use KafkaProducer
Package
Description
 
  • Uses of KafkaProducer in io.vertx.kafka.client.producer

    Modifier and Type
    Method
    Description
    KafkaProducer.abortTransaction(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
    Aborts the ongoing transaction.
    KafkaProducer.beginTransaction(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
    Starts a new kafka transaction.
    KafkaProducer.commitTransaction(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
    Commits the ongoing transaction.
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.create(io.vertx.core.Vertx vertx, Map<String,String> config)
    Create a new KafkaProducer instance
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.create(io.vertx.core.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(io.vertx.core.Vertx vertx, Map<String,String> config, org.apache.kafka.common.serialization.Serializer<K> keySerializer, org.apache.kafka.common.serialization.Serializer<V> valueSerializer)
    Create a new KafkaProducer instance
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.create(io.vertx.core.Vertx vertx, Properties config)
    Create a new KafkaProducer instance
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.create(io.vertx.core.Vertx vertx, Properties config, Class<K> keyType, Class<V> valueType)
    Create a new KafkaProducer instance
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.create(io.vertx.core.Vertx vertx, Properties config, org.apache.kafka.common.serialization.Serializer<K> keySerializer, org.apache.kafka.common.serialization.Serializer<V> valueSerializer)
    Create a new KafkaProducer instance
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.create(io.vertx.core.Vertx vertx, org.apache.kafka.clients.producer.Producer<K,V> producer)
    Create a new KafkaProducer instance from a native Producer.
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.create(io.vertx.core.Vertx vertx, org.apache.kafka.clients.producer.Producer<K,V> producer, KafkaClientOptions options)
    Create a new KafkaProducer instance from a native Producer.
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.createShared(io.vertx.core.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(io.vertx.core.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(io.vertx.core.Vertx vertx, String name, KafkaClientOptions options, org.apache.kafka.common.serialization.Serializer<K> keySerializer, org.apache.kafka.common.serialization.Serializer<V> valueSerializer)
    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(io.vertx.core.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(io.vertx.core.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
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.createShared(io.vertx.core.Vertx vertx, String name, Map<String,String> config, org.apache.kafka.common.serialization.Serializer<K> keySerializer, org.apache.kafka.common.serialization.Serializer<V> valueSerializer)
    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(io.vertx.core.Vertx vertx, String name, Properties 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(io.vertx.core.Vertx vertx, String name, Properties 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
    static <K, V> KafkaProducer<K,V>
    KafkaProducer.createShared(io.vertx.core.Vertx vertx, String name, Properties config, org.apache.kafka.common.serialization.Serializer<K> keySerializer, org.apache.kafka.common.serialization.Serializer<V> valueSerializer)
    Get or create a KafkaProducer instance which shares its stream with any other KafkaProducer created with the same name
    KafkaProducer.drainHandler(io.vertx.core.Handler<Void> handler)
     
    KafkaProducer.exceptionHandler(io.vertx.core.Handler<Throwable> handler)
     
    KafkaProducer.flush(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> completionHandler)
    Invoking this method makes all buffered records immediately available to write
    KafkaProducer.initTransactions(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
    Initializes the underlying kafka transactional producer.
    KafkaProducer.partitionsFor(String topic, io.vertx.core.Handler<io.vertx.core.AsyncResult<List<PartitionInfo>>> handler)
    Get the partition metadata for the give topic.
    KafkaProducer.send(KafkaProducerRecord<K,V> record, io.vertx.core.Handler<io.vertx.core.AsyncResult<RecordMetadata>> handler)
    Asynchronously write a record to a topic
    KafkaProducer.setWriteQueueMaxSize(int i)