Table of Contents

Class DynamoDbOutboxStreamEvent

Namespace
Excalibur.Outbox.DynamoDb
Assembly
Excalibur.Outbox.DynamoDb.dll

DynamoDB Stream event for outbox messages.

public sealed class DynamoDbOutboxStreamEvent : IChangeFeedEvent<CloudOutboxMessage>
Inheritance
DynamoDbOutboxStreamEvent
Implements
Inherited Members

Constructors

DynamoDbOutboxStreamEvent(ChangeFeedEventType, CloudOutboxMessage?, string, IPartitionKey, DateTimeOffset, string, long)

Initializes a new instance of the DynamoDbOutboxStreamEvent class.

public DynamoDbOutboxStreamEvent(ChangeFeedEventType eventType, CloudOutboxMessage? document, string documentId, IPartitionKey partitionKey, DateTimeOffset timestamp, string continuationToken, long sequenceNumber)

Parameters

eventType ChangeFeedEventType
document CloudOutboxMessage
documentId string
partitionKey IPartitionKey
timestamp DateTimeOffset
continuationToken string
sequenceNumber long

Properties

ContinuationToken

Gets the continuation token for resuming the feed from this point.

public string ContinuationToken { get; }

Property Value

string

Document

Gets the document after the change (null for deletes).

public CloudOutboxMessage? Document { get; }

Property Value

CloudOutboxMessage

DocumentId

Gets the document ID.

public string DocumentId { get; }

Property Value

string

EventType

Gets the type of change that occurred.

public ChangeFeedEventType EventType { get; }

Property Value

ChangeFeedEventType

PartitionKey

Gets the partition key of the document.

public IPartitionKey PartitionKey { get; }

Property Value

IPartitionKey

SequenceNumber

Gets the sequence number or version of this change.

public long SequenceNumber { get; }

Property Value

long

Timestamp

Gets the timestamp when the change occurred.

public DateTimeOffset Timestamp { get; }

Property Value

DateTimeOffset