- spray based client for aws services
- uses the marshallers and unmarshallers from the aws-java-sdk
excludes the httpclient dep from aws-java-sdk, its only needed as 'provided' to compile this project1.7 aws sdk kills this :(
- dynamodb
- kinesis
- sqs
- route53
The tests in each module show usage of each client.
All are along the lines of
val system = ActorSystem("test")
val props = DynamoDBClientProps(sys.env("AWS_ACCESS_KEY_ID"), sys.env("AWS_SECRET_ACCESS_KEY"), Timeout(10 seconds), system, system)
val client = new DynamoDBClient(props)
client.sendBatchPutItem(...).onComplete(println)
For high throughput applications you will most certainly want to increase spray.can.host-connector.max-connections
which defaults
to only 4
. 400
is the default in the akka-persistence-dynamodb journal which uses this library.
thanks
@justinsb -> spray-kinesis
@petter-fidesmo -> spray-sqs