Class MySqlCdcSources


public final class MySqlCdcSources
extends Object
Contains factory methods for creating change data capture sources based on MySQL databases.
  • Method Details

    • mysql

      @Nonnull public static MySqlCdcSources.Builder mysql​(@Nonnull String name)
      Creates a CDC source that streams change data from a MySQL database to Hazelcast Jet.

      KNOWN ISSUE: If Jet can't reach the database when it attempts to start the source or if it looses the connection to the database from an already running source, it throws an exception and terminate the execution of the job. This behaviour is not ideal, would be much better to try to reconnect, at least for a certain amount of time. Future versions will address the problem.

      name - name of this source, needs to be unique, will be passed to the underlying Kafka Connect source
      builder that can be used to set source properties and also to construct the source once configuration is done