MySQL 26.10 Reference Manual Including MySQL NDB Cluster 26.10

19.2.4.1 Configuring the Change Stream Applier

The Change Stream Applier requires all of the following:

A MySQL 26.x replica using the Change Stream Applier can replicate transactions from a MySQL 9.7 source if these requirements are satisfied.

The replication applier must be stopped before changing APPLIER_VERSION, APPLIER_WORKER_COUNT, or APPLIER_EVENT_MEMORY_LIMIT. The following example configures eight CSA workers for channel channel_1:

STOP REPLICA FOR CHANNEL 'channel_1';

CHANGE REPLICATION SOURCE TO
    APPLIER_VERSION = 2,
    APPLIER_WORKER_COUNT = 8,
    APPLIER_EVENT_MEMORY_LIMIT = 2147483648,
    SOURCE_AUTO_POSITION = 1,
    GTID_ONLY = 1,
    REQUIRE_ROW_FORMAT = 1,
    SOURCE_DELAY = 0
    FOR CHANNEL 'channel_1';

START REPLICA FOR CHANNEL 'channel_1';