Constructor and Description |
---|
ProducerStub(String topicName,
akka.actor.ActorSystem actorSystem,
akka.stream.Materializer materializer) |
Modifier and Type | Method and Description |
---|---|
void |
send(T message)
Sends the message via the
Topic where this ProducerStub is connected to. |
Topic<T> |
topic()
Returns the
Topic where this ProducerStub is connected to. |
public ProducerStub(String topicName, akka.actor.ActorSystem actorSystem, akka.stream.Materializer materializer)
public Topic<T> topic()
Topic
where this ProducerStub
is connected to.public void send(T message)
Topic
where this ProducerStub
is connected to.
message
-