sec.EventData
See theEventData companion object
final case class EventData(eventType: EventType, eventId: UUID, data: ByteVector, metadata: ByteVector, contentType: ContentType)
Event payload for an event. This is the actual data that you persist in EventStoreDB.
Value parameters
- contentType
-
the ContentType of encoded data and metadata.
- data
-
a scodec.bits.ByteVector of encoded data.
- eventId
-
unique identifier for the event.
- eventType
-
the EventType for the event.
- metadata
-
a scodec.bits.ByteVector of encoded metadata.
Attributes
- Companion
- object
- Source
- event.scala
- Graph
-
- Supertypes
Members list
In this article