amazon-archives / aws-scala-sdk

It's like the AWS SDK for Java, but more Scala-y
Apache License 2.0
73 stars 12 forks source link

Feature: Iteratee for query/scan #5

Open rohit-soni opened 9 years ago

rohit-soni commented 9 years ago

Hello,

As an abstraction over the pagination in Dynamo (i.e. using LastEvaluatedKey) as well as to have a nonblocking read approach, what do you think of an Iteratee implementation over the query/scan which will iterate over each item as the application processes it? Perhaps, in the future, this can be extended over to the connection InputStream to make it completely nonblocking.

Thanks, Rohit

david-at-aws commented 9 years ago

I'm on board. Did you have a particular Iteratee implementation in mind? Possibly worth doing as a separate module to avoid pulling in a dependency on play/scalaz to the "core" client?