object DurableProducerQueue
Ordering
- Alphabetic
- By Inheritance
Inherited
- DurableProducerQueue
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait Command[A] extends AnyRef
- type ConfirmationQualifier = String
- final case class LoadState[A](replyTo: [State[A]]) extends Command[A] with Product with Serializable
Request that is used at startup to retrieve the unconfirmed messages and current sequence number.
- final class MessageSent[A] extends Event
The fact (event) that a message has been sent.
- type SeqNr = Long
- final case class State[A](currentSeqNr: SeqNr, highestConfirmedSeqNr: SeqNr, confirmedSeqNr: Map[, (, TimestampMillis)], unconfirmed: [MessageSent[A]]) extends DeliverySerializable with Product with Serializable
- final case class StoreMessageConfirmed[A](seqNr: SeqNr, confirmationQualifier: ConfirmationQualifier, timestampMillis: TimestampMillis) extends Command[A] with Product with Serializable
Store the fact that a message has been confirmed to be delivered and processed.
Store the fact that a message has been confirmed to be delivered and processed.
This command may be retied and the implementation should be idempotent, i.e. deduplicate already processed sequence numbers.
- final case class StoreMessageSent[A](sent: MessageSent[A], replyTo: [StoreMessageSentAck]) extends Command[A] with Product with Serializable
Store the fact that a message is to be sent.
Store the fact that a message is to be sent. Replies with StoreMessageSentAck when the message has been successfully been stored.
This command may be retied and the implementation should be idempotent, i.e. deduplicate already processed sequence numbers.
- final case class StoreMessageSentAck(storedSeqNr: SeqNr) extends Product with Serializable
- type TimestampMillis = Long
Value Members
- val NoQualifier: ConfirmationQualifier
- object MessageSent
- object State extends Serializable
Actor message protocol for storing and confirming reliable delivery of messages. A akka.actor.typed.Behavior implementation of this protocol can optionally be used with ProducerController when messages shall survive a crash of the producer side.
An implementation of this exists in
akka.persistence.typed.delivery.EventSourcedProducerQueue
.