From the course: Stream Processing Design Patterns with Kafka Streams

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Setting up MariaDB and Redis

Setting up MariaDB and Redis

- [Instructor] Databases play a key role as sources and sinks in a streaming pipeline. In this course, we will use MariaDB and Redis for our examples. In this video, we will set up both as Docker containers, please install and set up Docker Desktop, if you have not already done so. We start with MariaDB. The instructions for setting up MariaDB is in the resources/Setup MariaDB.txt file. Let's examine the command to run MariaDB first. Few things to note here, the command will create the MYSQL root password as streaming. It will also create a MYSQL user called streaming with password as streaming. Also, it will create the data files under the volume shown here. Please make sure that you change the data directory to one that exists on your file system, here, I have already created the directory, users/LinkedIn/Documents/MariaDB. Otherwise you will receive an error. Let's run the command now and start the container.…

Contents