Applies the passed flow
to the messages processed by this subscriber.
Applies the passed flow
to the messages processed by this subscriber. Messages are delivered to the passed
flow
at least once.
If a failure occurs (e.g., an exception is thrown), the stream may be automatically restarted starting with the message that caused the failure.
Whether the stream is automatically restarted depends on the Lagom message broker implementation in use. If the Kafka Lagom message broker module is being used, then by default the stream is automatically restarted when a failure occurs.
The flow to apply to each received message.
A Future
that will be completed if the flow
completes.
Returns a stream of messages with at most once delivery semantic.
Returns a stream of messages with at most once delivery semantic.
If a failure occurs (e.g., an exception is thrown), the user is responsible of deciding how to recover from it (e.g., restarting the stream, aborting, ...).
Returns a copy of this subscriber with the passed group id.
Returns a copy of this subscriber with the passed group id.
The group id to assign to this subscriber.
A copy of this subscriber with the passed group id.
A Subscriber for consuming messages from a message broker.