|
|
@ -4,7 +4,7 @@ transport {
|
|
|
|
#NIO NATIVE
|
|
|
|
#NIO NATIVE
|
|
|
|
server = "NIO"
|
|
|
|
server = "NIO"
|
|
|
|
#enable heartbeat
|
|
|
|
#enable heartbeat
|
|
|
|
heartbeat = true
|
|
|
|
heartbeat = false
|
|
|
|
#thread factory for netty
|
|
|
|
#thread factory for netty
|
|
|
|
thread-factory {
|
|
|
|
thread-factory {
|
|
|
|
boss-thread-prefix = "NettyBoss"
|
|
|
|
boss-thread-prefix = "NettyBoss"
|
|
|
@ -46,17 +46,22 @@ client {
|
|
|
|
retry.times = 30
|
|
|
|
retry.times = 30
|
|
|
|
}
|
|
|
|
}
|
|
|
|
report.retry.count = 5
|
|
|
|
report.retry.count = 5
|
|
|
|
|
|
|
|
tm.commit.retry.count = 1
|
|
|
|
|
|
|
|
tm.rollback.retry.count = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
transaction {
|
|
|
|
transaction {
|
|
|
|
undo.data.validation = true
|
|
|
|
undo.data.validation = true
|
|
|
|
undo.log.serialization = "jackson"
|
|
|
|
undo.log.serialization = "jackson"
|
|
|
|
|
|
|
|
undo.log.save.days = 7
|
|
|
|
|
|
|
|
#schedule delete expired undo_log in milliseconds
|
|
|
|
|
|
|
|
undo.log.delete.period = 86400000
|
|
|
|
|
|
|
|
undo.log.table = "undo_log"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
## metrics settings
|
|
|
|
support {
|
|
|
|
metrics {
|
|
|
|
## spring
|
|
|
|
enabled = false
|
|
|
|
spring {
|
|
|
|
registry-type = "compact"
|
|
|
|
# auto proxy the DataSource bean
|
|
|
|
# multi exporters use comma divided
|
|
|
|
datasource.autoproxy = false
|
|
|
|
exporter-list = "prometheus"
|
|
|
|
}
|
|
|
|
exporter-prometheus-port = 9898
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|