public final class ProducerStubFactory extends Object
ProducerStub
's. This is a singleton that should be Inject
ed
on the stubbed Services when writing tests.Constructor and Description |
---|
ProducerStubFactory(akka.actor.ActorSystem actorSystem,
akka.stream.Materializer materializer) |
Modifier and Type | Method and Description |
---|---|
<T> ProducerStub<T> |
producer(String topicId) |
public ProducerStubFactory(akka.actor.ActorSystem actorSystem, akka.stream.Materializer materializer)
public <T> ProducerStub<T> producer(String topicId)