Table of Contents

Interface IIntegrationEvent

Namespace
Compendium.Core.Domain.Events
Assembly
Compendium.Core.dll

Represents an integration event that is published across bounded contexts. Integration events are used for communication between different bounded contexts or external systems.

public interface IIntegrationEvent

Properties

CausationId

Gets the causation identifier linking this event to the command or event that caused it.

string? CausationId { get; }

Property Value

string

CorrelationId

Gets the correlation identifier for tracking related events across systems.

string? CorrelationId { get; }

Property Value

string

EventId

Gets the unique identifier of the integration event.

Guid EventId { get; }

Property Value

Guid

EventType

Gets the name of the event type for serialization and routing purposes.

string EventType { get; }

Property Value

string

EventVersion

Gets the version of the event schema for backward compatibility.

int EventVersion { get; }

Property Value

int

OccurredOn

Gets the timestamp when the event occurred.

DateTimeOffset OccurredOn { get; }

Property Value

DateTimeOffset