@vasto-queue/dynamodb-store
v0.1.0
Published
DynamoDB storage adapter for Vasto
Maintainers
Readme
@vasto-queue/dynamodb-store
DynamoDB storage adapter for Vasto.
Uses AWS SDK v3 (@aws-sdk/client-dynamodb + @aws-sdk/lib-dynamodb) for queue lifecycle operations and historical archive reads.
Installation
npm install @vasto-queue/dynamodb-store @aws-sdk/client-dynamodb @aws-sdk/lib-dynamodbUsage
import { DynamoDbStore } from '@vasto-queue/dynamodb-store';
const store = new DynamoDbStore({
region: 'us-east-1',
tableName: 'vasto_jobs',
deadLetterTableName: 'vasto_dead_letter',
completedTableName: 'vasto_completed',
});
await store.migrate();Features
- Queue lifecycle support (
enqueue,dequeue,ack,fail,extendLease) - Deferred jobs and promotion support
- Dead-letter queue and retry support
- Progress tracking
- Completed jobs archive with retention controls
