12345678910111213141516171819202122232425262728293031 |
- #
- # DTC configure file. v2
- # Cache with Datasource Test cases.
- # Scene 1: Single DB Single Table
- #
- props:
- log.level: debug
- listener.port.dtc: 20015
- shm.mem.size: 100 #MB
- connector.procs: 1
- connection: &connection
- addr: 127.0.0.1:3307
- user: username
- pwd: password
- primary:
- db: &db dtc
- table: &table opensource
- cache:
- field:
- - {name: &key uid, type: signed, size: 4}
- - {name: name, type: string, size: 50}
- - {name: city, type: string, size: 50}
- - {name: sex, type: signed, size: 4}
- - {name: age, type: signed, size: 4}
- hot:
- logic:
- {db: *db, table: *table, connection: *connection}
- real:
- - {addr: mysql:3306, user: root, pwd: 123456, db: layer2}
|