2020-05-26 18:04:08 +02:00
|
|
|
[id="tutorial"]
|
2019-08-22 17:39:30 +02:00
|
|
|
= Tutorial
|
2020-05-26 16:47:32 +02:00
|
|
|
|
2019-08-22 17:39:30 +02:00
|
|
|
:toc:
|
|
|
|
:toc-placement: macro
|
|
|
|
:sectanchors:
|
|
|
|
:linkattrs:
|
|
|
|
:icons: font
|
|
|
|
:source-highlighter: highlight.js
|
2020-02-04 22:14:56 +01:00
|
|
|
:windows:
|
2019-08-22 17:39:30 +02:00
|
|
|
|
|
|
|
toc::[]
|
|
|
|
|
2020-02-04 22:14:56 +01:00
|
|
|
This tutorial demonstrates how to use {prodname} to monitor a MySQL database.
|
|
|
|
As the data in the database changes, you will see the resulting event streams.
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-02-04 22:14:56 +01:00
|
|
|
In this tutorial you will start the {prodname} services,
|
|
|
|
run a MySQL database server with a simple example database,
|
|
|
|
and use {prodname} to monitor the database for changes.
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-02-04 22:14:56 +01:00
|
|
|
.Prerequisites
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-02-04 22:14:56 +01:00
|
|
|
* Docker is installed and running.
|
|
|
|
+
|
|
|
|
This tutorial uses Docker and the {prodname} Docker images to run the required services.
|
|
|
|
You should use the latest version of Docker.
|
|
|
|
For more information, see link:https://docs.docker.com/engine/installation/[the Docker Engine installation documentation].
|
|
|
|
+
|
2019-08-22 17:39:30 +02:00
|
|
|
[NOTE]
|
|
|
|
====
|
2020-02-04 22:14:56 +01:00
|
|
|
For this tutorial, do not run Docker in a virtual machine (using Docker Machine).
|
2019-08-22 17:39:30 +02:00
|
|
|
====
|
|
|
|
|
2020-04-08 22:26:47 +02:00
|
|
|
include::{partialsdir}/modules/tutorial/c_introduction-debezium.adoc[leveloffset=+1]
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-04-08 22:26:47 +02:00
|
|
|
include::{partialsdir}/assemblies/tutorial/as_starting-services.adoc[leveloffset=+1]
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-04-08 22:26:47 +02:00
|
|
|
include::{partialsdir}/assemblies/tutorial/as_deploying-mysql-connector.adoc[leveloffset=+1]
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-04-08 22:26:47 +02:00
|
|
|
include::{partialsdir}/assemblies/tutorial/as_viewing-change-events.adoc[leveloffset=+1]
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-04-08 22:26:47 +02:00
|
|
|
include::{partialsdir}/modules/tutorial/p_cleaning-up.adoc[leveloffset=+1]
|
2019-08-22 17:39:30 +02:00
|
|
|
|
2020-04-08 22:26:47 +02:00
|
|
|
include::{partialsdir}/modules/tutorial/c_next-steps.adoc[leveloffset=+1]
|