spring-data-dynamodb icon indicating copy to clipboard operation
spring-data-dynamodb copied to clipboard

Use DynamoDBAsync client with spring-data-dynamodb

Open sarbajitdutta opened this issue 6 years ago • 3 comments

Is it possible to use use DynamoDBAsync client with spring-data-dynamodb? If yes how can it be configured.

sarbajitdutta avatar Oct 15 '18 16:10 sarbajitdutta

Right now it is not supported - spring-data's JDK8 features are supported - but those simulate async behavior on top of the regular DynamoDBClient.

derjust avatar Jan 23 '19 04:01 derjust

Do you have an example how this can be achieved?

sarbajitdutta avatar Jan 23 '19 04:01 sarbajitdutta

Have a look here: https://github.com/derjust/spring-data-dynamodb/blob/44fc7400d719dbda16627210aa6172e0041035aa/src/test/java/org/socialsignin/spring/data/dynamodb/domain/sample/UserRepository.java#L42-L43 and https://github.com/derjust/spring-data-dynamodb/blob/44fc7400d719dbda16627210aa6172e0041035aa/src/test/java/org/socialsignin/spring/data/dynamodb/domain/sample/Jdk8IT.java#L101-L103

Does it help?

derjust avatar Jan 25 '19 05:01 derjust