!include include/default_mysqld.cnf

[mysqld.1]
plugin_dir=@env.KEYRING_PLUGIN_DIR
early-plugin-load=@env.KEYRING_PLUGIN
keyring_file_data=../../tmp/keyring1
gtid-mode=ON
enforce-gtid-consistency=ON
encrypt-binlog=1
master-verify-checksum=1

[mysqld.2]
plugin_dir=@env.KEYRING_PLUGIN_DIR
early-plugin-load=@env.KEYRING_PLUGIN
keyring_file_data=../../tmp/keyring2
log-slave-updates
relay-log-info-repository=table
gtid-mode=ON
enforce-gtid-consistency=ON
encrypt-binlog=1
master-verify-checksum=1

[mysqld.3]
plugin_dir=@env.KEYRING_PLUGIN_DIR
early-plugin-load=@env.KEYRING_PLUGIN
keyring_file_data=../../tmp/keyring3
log-slave-updates
relay-log-info-repository=table
gtid-mode=ON
enforce-gtid-consistency=ON
encrypt-binlog=1
master-verify-checksum=1

[ENV]
SERVER_MYPORT_1= @mysqld.1.port
SERVER_MYPORT_2= @mysqld.2.port
SERVER_MYPORT_3= @mysqld.3.port
