PublishedManifest
class PublishedManifest @InternalWowApi constructor(val aggregate: String, val topic: String, val includeState: Boolean = true, val revealsDisplay: Boolean = false)
A stream of state events a context publishes for other contexts: those of its aggregate, on the Kafka topic (defaultTopic unless overridden), each with the aggregate's state after the commit unless includeState is false, for an aggregate whose state is too large (a subscriber of such a stream declares a nullable state).
The state and the events' bodies are masked as a read masks them: every CONFIDENTIAL value, and every DISPLAY value unless revealsDisplay, which the owner declares (@AggregateRoot(revealsDisplay = true)) and the owner's wow.query.sensitivity.display-shared off overrides.
Fields may be added: pass the constructor's arguments by name.
Constructors
Functions
Link copied to clipboard
fun PublishedManifest.copyWith(aggregate: String = this.aggregate, topic: String = this.topic, includeState: Boolean = this.includeState, revealsDisplay: Boolean = this.revealsDisplay): PublishedManifest