This tutorial demonstrates how to use Debezium to capture updates in a MySQL database. As the data in the database changes, you can see the resulting event streams.

In this tutorial, you start the Debezium services in OpenShift, run a MySQL database server with a simple example database, and use Debezium to capture changes in the database.


  • Access to an OpenShift Container Platform 4.x cluster with cluster-admin privileges
  • The AMQ Streams 2021.q3 OpenShift installation and example files

    You can download these files from the AMQ Streams download site.

  • The Debezium MySQL Connector 1.5.

    You can download these files from the Red Hat Integration download site.


These prerequisites apply to the MySQL connector. Other Debezium connectors may have different prerequisites.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.