chore(project): 添加项目配置文件和忽略规则
- 添加 Babel 配置文件支持 ES6+ 语法转换 - 添加 ESLint 忽略规则和配置文件 - 添加 Git 忽略规则文件 - 添加 Travis CI 配置文件 - 添加 1.4.2 版本变更日志文件 - 添加 Helm 图表辅助模板文件 - 添加 Helm 忽略规则文件
This commit is contained in:
88
script/client/conf/file.conf
Normal file
88
script/client/conf/file.conf
Normal file
@@ -0,0 +1,88 @@
|
||||
transport {
|
||||
# tcp, unix-domain-socket
|
||||
type = "TCP"
|
||||
#NIO, NATIVE
|
||||
server = "NIO"
|
||||
#enable heartbeat
|
||||
heartbeat = true
|
||||
# the client batch send request enable
|
||||
enableClientBatchSendRequest = true
|
||||
#thread factory for netty
|
||||
threadFactory {
|
||||
bossThreadPrefix = "NettyBoss"
|
||||
workerThreadPrefix = "NettyServerNIOWorker"
|
||||
serverExecutorThread-prefix = "NettyServerBizHandler"
|
||||
shareBossWorker = false
|
||||
clientSelectorThreadPrefix = "NettyClientSelector"
|
||||
clientSelectorThreadSize = 1
|
||||
clientWorkerThreadPrefix = "NettyClientWorkerThread"
|
||||
# netty boss thread size
|
||||
bossThreadSize = 1
|
||||
#auto default pin or 8
|
||||
workerThreadSize = "default"
|
||||
}
|
||||
shutdown {
|
||||
# when destroy server, wait seconds
|
||||
wait = 3
|
||||
}
|
||||
serialization = "seata"
|
||||
compressor = "none"
|
||||
}
|
||||
service {
|
||||
#transaction service group mapping
|
||||
vgroupMapping.my_test_tx_group = "default"
|
||||
#only support when registry.type=file, please don't set multiple addresses
|
||||
default.grouplist = "127.0.0.1:8091"
|
||||
#degrade, current not support
|
||||
enableDegrade = false
|
||||
#disable seata
|
||||
disableGlobalTransaction = false
|
||||
}
|
||||
|
||||
client {
|
||||
rm {
|
||||
asyncCommitBufferLimit = 10000
|
||||
lock {
|
||||
retryInterval = 10
|
||||
retryTimes = 30
|
||||
retryPolicyBranchRollbackOnConflict = true
|
||||
}
|
||||
reportRetryCount = 5
|
||||
tableMetaCheckEnable = false
|
||||
tableMetaCheckerInterval = 60000
|
||||
reportSuccessEnable = false
|
||||
sagaBranchRegisterEnable = false
|
||||
sagaJsonParser = jackson
|
||||
sagaRetryPersistModeUpdate = false
|
||||
sagaCompensatePersistModeUpdate = false
|
||||
}
|
||||
tm {
|
||||
commitRetryCount = 5
|
||||
rollbackRetryCount = 5
|
||||
defaultGlobalTransactionTimeout = 60000
|
||||
degradeCheck = false
|
||||
degradeCheckPeriod = 2000
|
||||
degradeCheckAllowTimes = 10
|
||||
}
|
||||
undo {
|
||||
dataValidation = true
|
||||
onlyCareUpdateColumns = true
|
||||
logSerialization = "jackson"
|
||||
logTable = "undo_log"
|
||||
compress {
|
||||
enable = true
|
||||
# allow zip, gzip, deflater, 7z, lz4, bzip2, default is zip
|
||||
type = zip
|
||||
# if rollback info size > threshold, then will be compress
|
||||
# allow k m g t
|
||||
threshold = 64k
|
||||
}
|
||||
}
|
||||
loadBalance {
|
||||
type = "RandomLoadBalance"
|
||||
virtualNodes = 10
|
||||
}
|
||||
}
|
||||
log {
|
||||
exceptionRate = 100
|
||||
}
|
||||
Reference in New Issue
Block a user