sealed trait ContentType
Content type for EventData. There are two variants:
Content type for EventData. There are two variants:
- ContentType.Json used when event data and metadata are encoded as JSON.
- ContentType.Binary used when event data and metadata are encoded as binary. This can for instance be https://developers.google.com/protocol-buffers or utf8 encoded data like EventType.LinkTo events.
- Companion
- object