Skip to content

Particular/NServiceBus.Persistence.DynamoDB

Repository files navigation

NServiceBus.Persistence.DynamoDB

NServiceBus.Persistence.DynamoDB is the official NServiceBus persistence for DynamoDB.

It is part of the Particular Service Platform, which includes NServiceBus and tools to build, monitor, and debug distributed systems.

See the AWS DynamoDB persistence documentation to learn more.

Running tests locally

Tests require an AWS account with permissions to create DynamoDB tables. Create an access key in the AWS portal and configure the AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY environment variables.

Alternatively, use the local DynamoDB docker container via docker run -p 8000:8000 --name dynamodb amazon/dynamodb-local (for more information refer to the local DynamoDB installation guidance). The tests will automatically use the local DynamoDB instance when no AWS_ACCESS_KEY_ID environment variable has been configured. By default, the tests assume the local DynamoDB instance is available under http://localhost:8000. To use a different host or port, set the AWS_DYNAMODB_LOCAL_ADDRESS environment variable to the custom URL.