interface EncodedEvent

Represents an event in its encoded, wire-ready format.

EncodedEvent is the transport representation of an EventicleEvent, containing the serialized event data as a buffer along with metadata headers. This format is used by EventClient implementations for efficient network transmission and storage.

Properties

buffer

Serialized event data as binary buffer

Signature
buffer: Buffer;

headers

Event metadata headers for routing and processing

Signature
headers: {
        [key: string]: any;
    };

key

Partitioning key for event streaming (typically domainId)

Signature
key: string;

timestamp

Event creation timestamp in milliseconds

Signature
timestamp: number;