Packages

object AmqpSource

Source
AmqpSource.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AmqpSource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def atMostOnceSource(settings: AmqpSourceSettings, bufferSize: Int): Source[ReadResult, NotUsed]

    Java API: Convenience for "at-most once delivery" semantics.

    Java API: Convenience for "at-most once delivery" semantics. Each message is acked to RabbitMQ before it is emitted downstream.

  2. def committableSource(settings: AmqpSourceSettings, bufferSize: Int): Source[CommittableReadResult, NotUsed]

    Java API: The committableSource makes it possible to commit (ack/nack) messages to RabbitMQ.

    Java API: The committableSource makes it possible to commit (ack/nack) messages to RabbitMQ. This is useful when "at-least once delivery" is desired, as each message will likely be delivered one time but in failure cases could be duplicated.

    If you commit the offset before processing the message you get "at-most once delivery" semantics, and for that there is a #atMostOnceSource.

    Compared to auto-commit, this gives exact control over when a message is considered consumed.