Class StreamProducerFactory

java.lang.Object
com.avoka.fc.core.stream.StreamProducerFactory

public class StreamProducerFactory extends Object
Provides a stream producer factory which creates producer based on service connection.
Since:
22.10.0
  • Constructor Details

    • StreamProducerFactory

      public StreamProducerFactory()
  • Method Details

    • getProducer

      public static IStreamProducer getProducer(ServiceConnection serviceConnection)
      return a producer based on the service connection type.
      Parameters:
      serviceConnection - the service connection
      Returns:
      an instance of IStreamProducer