[maxscale]
threads=###threads###
log_notice=1
log_info=1

[Binlog_Service]
type=service
router=binlogrouter
user=skysql
passwd=skysql
version_string=5.6.15-log
router_options=server-id=3,user=repl,password=repl,longburst=500,heartbeat=30,binlogdir=/var/lib/maxscale/Binlog_Service,mariadb10-compatibility=1

[Binlog Listener]
type=listener
service=Binlog_Service
protocol=MySQLClient
port=5306

[CLI]
type=service
router=cli

[CLI Listener]
type=listener
service=CLI
protocol=maxscaled
socket=default

[avro-converter]
type=service
router=avrorouter
codec=deflate
router_options=binlogdir=/var/lib/maxscale/Binlog_Service,
        filestem=mar-bin,start_index=1,
        group_trx=1,group_rows=1,
        avrodir=/var/lib/maxscale/avro/
user=skysql
passwd=skysql

[avro-listener]
type=listener
service=avro-converter
protocol=CDC
port=4001
authenticator=CDCPlainAuth
