Interface PublishedEvent


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

Not for user extension

  • Method Details

    • event

      Object event()
      User event
    • getReplicatedMetaData

      Optional<ReplicatedPublishedEventMetaData> getReplicatedMetaData()
      Java API: When emitted from an Replicated Event Sourcing actor this will contain the replica id
    • persistenceId

      PersistenceId persistenceId()
    • replicatedMetaData

      scala.Option<ReplicatedPublishedEventMetaData> replicatedMetaData()
      Scala API: When emitted from an Replicated Event Sourcing actor this will contain the replica id
    • sequenceNumber

      long sequenceNumber()
    • tags

      scala.collection.immutable.Set<String> tags()
    • timestamp

      long timestamp()
    • withoutTags

      PublishedEvent withoutTags()
      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.