Summary
We started this chapter with a brief overview of the Spark JDBC API and some of its most commonly used options. We then looked at examples of how to read and write to a database using the mysql
database installed in Chapter 2. We covered configuration loading through the PureConfig
library and finally created an interface that makes it easy to work with databases.
In the next chapter, we are going to look at cloud object storage as well as streaming.