Class ProducerRunner

java.lang.Object
com.bakdata.kafka.producer.ProducerRunner
All Implemented Interfaces:
Runner, AutoCloseable, Runnable

public class ProducerRunner extends Object implements Runner
Runs a Kafka Producer application
  • Constructor Details

    • ProducerRunner

      public ProducerRunner(@NonNull @NonNull ProducerRunnable runnable)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Runner
    • run

      public void run()
      Description copied from interface: Runner
      Run the application
      Specified by:
      run in interface Runnable
      Specified by:
      run in interface Runner