You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
|
1 week ago
|
|
||
|
|
## transaction log store, only used in seata-server
|
||
|
|
store {
|
||
|
|
## store mode: file、db
|
||
|
|
mode = "file"
|
||
|
|
|
||
|
|
## file store property
|
||
|
|
file {
|
||
|
|
## store location dir
|
||
|
|
dir = "sessionStore"
|
||
|
|
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
|
||
|
|
maxBranchSessionSize = 16384
|
||
|
|
# globe session size , if exceeded throws exceptions
|
||
|
|
maxGlobalSessionSize = 512
|
||
|
|
# file buffer size , if exceeded allocate new buffer
|
||
|
|
fileWriteBufferCacheSize = 16384
|
||
|
|
# when recover batch read size
|
||
|
|
sessionReloadReadSize = 100
|
||
|
|
# async, sync
|
||
|
|
flushDiskMode = async
|
||
|
|
}
|
||
|
|
|
||
|
|
## database store property
|
||
|
|
db {
|
||
|
|
## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp) etc.
|
||
|
|
datasource = "druid"
|
||
|
|
## mysql/oracle/postgresql/h2/oceanbase etc.
|
||
|
|
dbType = "mysql"
|
||
|
|
driverClassName = "com.mysql.jdbc.Driver"
|
||
|
|
url = "jdbc:mysql://127.0.0.1:3306/seata"
|
||
|
|
user = "mysql"
|
||
|
|
password = "mysql"
|
||
|
|
minConn = 5
|
||
|
|
maxConn = 30
|
||
|
|
globalTable = "global_table"
|
||
|
|
branchTable = "branch_table"
|
||
|
|
lockTable = "lock_table"
|
||
|
|
queryLimit = 100
|
||
|
|
maxWait = 5000
|
||
|
|
}
|
||
|
|
}
|