googley42 / zio-dynamodb-example

An example of ZIO integration with AWS java SDK. Shows ZIO Streaming of a paged query.

Repository from Github https://github.comgoogley42/zio-dynamodb-exampleRepository from Github https://github.comgoogley42/zio-dynamodb-example

zio-dynamodb-example

An repo containing example code of for using ZIO interop for Java Futures for working with the AWS java DynamoDB SDK. It shows how to return a purely functional streaming interface (ZIO Streams) using server side paging.

All code is in the test LocalDynamoDbSpec.scala which runs against an in memory local dynamoDB instance.

To run:

sbt test    

Note this repo was created a while back and may have a misleading name - its just an example AWS SDK interop. If you are looking for a real Scala DynamoDB library then head on over to https://github.com/zio/zio-dynamodb which was created more recently.

About

An example of ZIO integration with AWS java SDK. Shows ZIO Streaming of a paged query.


Languages

Language:Scala 100.0%