Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1362

Downloading zip file of a csv, from S3 bucket using Akka and Alpakka streams

$
0
0

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.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1362

Trending Articles