I am having an issue for downloading S3 bucket content, which is for now a single zip file, unzip it and have it in memory. I couldn’t find relevant information, but I know I shall do something similar to this. (If zip format and unzipping is supported)
S3.download(bucket, key)
.log("started download")
.withAttributes(attrs) //my non-default alpakka s3 connector values
.runWith(Sink.head)
I am not sure how to get the stream, unzip it and have the csv file in the memory. Would appreciate the help.