Created
August 16, 2017 15:48
-
-
Save bszwej/7d97cbe5c0651816859f943ea007e6a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import akka.stream.scaladsl.{Compression, JsonFraming} | |
val maximumObjectLength = 16000000 | |
s3Client | |
.download("backup.bucket", "CookieCollectionBackup") | |
.via(Compression.gunzip()) | |
.via(JsonFraming.objectScanner(maximumObjectLength)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment