Persisting the process data

This section will explain how you can persist the process data to the data store. We are using MySQL as the data store for storing the processed data in this use case.

We will assume that you have MySQL installed on your CentOS machine, or you can follow the blog at to install MySQL on a CentOS machine. Let's perform the following steps to persist records to MySQL:

  1. Add the following dependency to the pom.xml file of the stormlogprocessing project:
  2. We will create a MySQLConnection class in the com.learningstorm.stormlogprocessing ...

Get Learning Storm now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.