5.7 Using Master/Slave Replication with ReplicationConnection

See Section 8.3, “Configuring Master/Slave Replication with Connector/J” for details on the topic.