Expand description
§faucet-sink-dynamodb
Amazon DynamoDB sink connector for
faucet-stream: batched
BatchWriteItem writes (≤ 25 items / 16 MB per request) with
unprocessed-item retry, write_mode: append | upsert | delete keyed on
the table key schema, per-row outcomes for the DLQ via
write_batch_partial, and optional conditional writes
(condition_expression) for idempotent re-delivery.
Structs§
- Dynamo
DbSink - Amazon DynamoDB sink. See the crate README for semantics.
- Dynamo
DbSink Config - Configuration for
DynamoDbSink. - Retry
Policy - Retry/backoff settings exposed on both connector configs.
Enums§
- Dynamo
DbCredentials - How to authenticate with AWS DynamoDB (and DynamoDB Streams).
- OnCondition
Failure - What a failed
condition_expressionmeans. - Value
Format - How records carry attribute values:
plainJSON (the default) or DynamoDB’stypedattribute JSON ({"pk": {"S": "a"}, "tags": {"SS": [..]}}).typedkeeps sets, binaries and numbers of any precision exactly, so a DynamoDB-to-DynamoDB copy round-trips every attribute type.
Constants§
- DESCRIPTOR
- The connector’s static descriptor (RFC 0013): its capabilities, answered from config alone.
- MAX_
BATCH_ ITEMS BatchWriteItem’s per-request item ceiling.- MAX_
ITEM_ BYTES - DynamoDB’s per-item size ceiling.
- MAX_
REQUEST_ BYTES BatchWriteItem’s per-request size ceiling.
Functions§
- build_
client - Build an
aws_sdk_dynamodb::Client.endpoint_urloverrides the endpoint for DynamoDB Local / LocalStack / VPC endpoints. No network I/O.