All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.networknt.kafka.producer.NativeLightProducer Maven / Gradle / Ivy

There is a newer version: 2.1.37
Show newest version
package com.networknt.kafka.producer;

import org.apache.kafka.clients.producer.Producer;

public interface NativeLightProducer extends LightProducer {
    /**
     * Return the Kafka Producer instance so that it can be used to produce message to a Kafka topic.
     * Instead of using a queue like QueuedLightProducer to hide the producer from the user, this
     * interface will provide the native producer to work with.
     *
     * @return Kafka producer instance
     */
    Producer getProducer();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy