Skip to content
Spring Boot Webflux + AWS DynamoDB integration example
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Readme updated Dec 25, 2019
.gitignore Initialize Dec 23, 2019 Update README tutorial link Dec 25, 2019
build.gradle Add AWS DynamoDB Gradle dependency Dec 23, 2019
gradlew Initialize Dec 23, 2019

Spring Boot Webflux + AWS DynamoDB example

A reference implementation for Spring Boot Webflux integration with AWS DynamoDB using AWS Async Client.


  1. Java 11
  2. Spring Boot 2.2.2
  3. Gradle 6.0.1
  4. AWS SDK 2.10.40

Running AWS DynamoDB locally without Docker

Follow the steps at

  1. Download the AWS DynamoDB Local JAR from above link and unzip it

  2. Run the local dynamodb jar

    java -Djava.library.path=./DynamoDBLocal_lib/ 
        -jar DynamoDBLocal.jar
  3. Create customer table in dynamodb.

    aws dynamodb create-table 
     	--table-name customers 
     	--attribute-definitions AttributeName=customerId,AttributeType=S 
     	--key-schema AttributeName=customerId,KeyType=HASH 
     	--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5 
     	--endpoint-url http://localhost:8000
  4. Verify the table is created.

     aws dynamodb list-tables 
       	--endpoint-url http://localhost:8000


          "TableNames": [

Build and run

./gradlew bootRun


Spring Boot Webflux DynamoDB Tutorial

You can’t perform that action at this time.