Package com.avoka.fc.core.stream
Class StreamProducerFactory
java.lang.Object
com.avoka.fc.core.stream.StreamProducerFactory
Provides a stream producer factory which creates producer based on service connection.
- Since:
- 22.10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IStreamProducer
getProducer
(ServiceConnection serviceConnection) return a producer based on the service connection type.
-
Constructor Details
-
StreamProducerFactory
public StreamProducerFactory()
-
-
Method Details
-
getProducer
return a producer based on the service connection type.- Parameters:
serviceConnection
- the service connection- Returns:
- an instance of IStreamProducer
-