t

akka.persistence.typed

PublishedEvent

trait PublishedEvent extends AnyRef

When using event publishing the events published to the system event stream will be in this form.

Not for user extension

Annotations
@DoNotInherit()
Source
PublishedEvent.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PublishedEvent
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def event: Any

    User event

  2. abstract def getReplicatedMetaData: [ReplicatedPublishedEventMetaData]

    Java API: When emitted from an Replicated Event Sourcing actor this will contain the replica id

  3. abstract def persistenceId: PersistenceId
  4. abstract def replicatedMetaData: [ReplicatedPublishedEventMetaData]

    Scala API: When emitted from an Replicated Event Sourcing actor this will contain the replica id

  5. abstract def sequenceNumber: Long
  6. abstract def tags: Set[String]
  7. abstract def timestamp: Long
  8. abstract def withoutTags: PublishedEvent

    If the published event is tagged, return a new published event with the payload unwrapped and the tags dropped, if it is not tagged return the published event as is.