github.com/kaydxh/golang@v0.0.131/pkg/binlog/binlog.yaml (about) 1 database: 2 mysql: 3 enabled: true 4 address: "localhost:3306" 5 username: "root" 6 password: "" 7 db_name: "sealet" 8 max_connections: 100 9 max_idle_connections: 10 10 dial_timeout: 5s 11 max_wait_duration: 20s 12 fail_after_duration: 100s 13 interpolate_params: true 14 15 mq: 16 kafka: 17 enabled: true 18 brokers: ["localhost:9092"] 19 max_wait_duration: 5s 20 fail_after_duration: 30s 21 22 binlog: 23 enabled: true 24 binlog_type: "BinlogType_DB" 25 flush_batch_size: 1 26 flush_timeout: 10s 27 28 file_log: 29 filepath: ./binlog 30 rotate_interval: 3600s #1h 31 rotate_size: 104857600 #100M