Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeduplicationStorage ¶
type DeduplicationStorage struct {
// contains filtered or unexported fields
}
DeduplicationStorage is the Amazon DynamoDB streams.DeduplicationStorage
func NewDeduplicationStorage ¶
func NewDeduplicationStorage(cfg DeduplicationStorageConfig, client *dynamodb.Client) DeduplicationStorage
func (DeduplicationStorage) Commit ¶
func (d DeduplicationStorage) Commit(ctx context.Context, workerID, messageID string)
func (DeduplicationStorage) IsDuplicated ¶
type DeduplicationStorageConfig ¶
type DeduplicationStorageConfig struct { TableName string Logger *log.Logger ErrorLogger *log.Logger RowTTLDuration time.Duration // Total duration for a row to be available; DynamoDB will remove the row automatically if configured. }
DeduplicationStorageConfig is the configuration schema for Amazon DynamoDB streams.DeduplicationStorage implementation.
Click to show internal directories.
Click to hide internal directories.