A simple POC which reads a file from the Amazon S3 FS using Apache Spark, then counts the number of lines in the file. The project is written in Java using the Spring Boot framework.
All configuration parameters could be found in the src/main/resources/application.properties
file. You can change the config to match your project.