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.
Event payload for an event. This is the actual data that you persist in EventStoreDB.
- Value Params
- 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.
- Companion
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any