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
CorrelationId
Gets the correlation identifier for tracking related events across systems.
string? CorrelationId { get; }
Property Value
EventId
Gets the unique identifier of the integration event.
Guid EventId { get; }
Property Value
EventType
Gets the name of the event type for serialization and routing purposes.
string EventType { get; }
Property Value
EventVersion
Gets the version of the event schema for backward compatibility.
int EventVersion { get; }
Property Value
OccurredOn
Gets the timestamp when the event occurred.
DateTimeOffset OccurredOn { get; }