Interface NativeLightProducer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.apache.kafka.clients.producer.Producer getProducer()
      Return the Kafka Producer instance so that it can be used to produce message to a Kafka topic.
    • Method Detail

      • getProducer

        org.apache.kafka.clients.producer.Producer getProducer()
        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.
        Returns:
        Kafka producer instance