Author: Miral Gandhi

Stream a file to AWS S3 using Akka Streams

In this blog, I’ll show you how to stream a file to AWS S3 using the library –gfc-aws-s3, To use the above, add to your dependencies “com.gilt” %% “gfc-aws-s3” % “0.1.0” The library contains akka-stream Sources and Sinks to Stream data from and to S3 From my blog on “Upload file in Akka Http“, you can see how to obtain the stream of a file, Continue Reading

Trying to use form field and file upload directive together in Akka-Http?

If you are reading this then probably you have encountered the issue that comes while accessing fields with uploading a file, and if not then let me first tell you what’s the situation that I’m talking about here, Let’s see the code where we try to use fileUpload directive and formFields together

Error Handling Using EitherT

Are you aware of Either, if yes then you must know how it’s use for error handling , but don’t you think things get messy when it is┬áplaced into effectful types such as Option or Future, a large amount of boilerplate is required to handle errors.

Table Driven Approach For Testing

Most of us would have been in a situation where multiple test cases are same but the input data isn’t, Or even when input data is same and is used for multiple test cases. So In cases like these we can use Table driven approach, it is a way of testing that allows you to write minimal test code with increased readability.

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!