This is an automated email from the ASF dual-hosted git repository.
jimin pushed a commit to branch docusaurus
in repository https://gitbox.apache.org/repos/asf/incubator-seata-website.git
The following commit(s) were added to refs/heads/docusaurus by this push:
new e58f8a39471 optimize: optimize configurations format (#1025)
e58f8a39471 is described below
commit e58f8a3947130dc85a73faf968ae208310d64e9b
Author: jimin <[email protected]>
AuthorDate: Wed Oct 8 01:51:00 2025 +0800
optimize: optimize configurations format (#1025)
Signed-off-by: slievrly <[email protected]>
---
.../current/user/configurations.md | 35 ++++++++--------------
.../current/user/configurations.md | 1 -
2 files changed, 12 insertions(+), 24 deletions(-)
diff --git
a/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
b/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
index 01a1075402b..852b36ea98b 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
@@ -75,27 +75,16 @@
transport.enable-client-batch-send-request、client.log.exceptionRate
### Common sector(Both the client and the server need it)
-| key | desc | remark | change record |
-|-----|------|--------|---------------|
-
-| transport.threadFactory.bossThreadSize | Netty communication model Boss
group threads | Default 1 |
-| transport.threadFactory.workerThreadSize | Netty communication model Worker
group threads | The number of threads can
-be configured or the number of threads in a specific thread working mode can
be selected. There are four default working
-modes of threads: Auto (2 _ CPU cores+1), Pin (CPU cores, applicable to
computing intensive tasks), BusyPin (CPU
-cores+1, applicable to computing intensive and memory limited scenarios)
Default (2 _ CPU cores, applicable to IO
-intensive tasks), the default value is Default mode |
-| transport.shutdown. wait | Time to wait for service offline before the Netty
thread pool on the server is closed | 3
-seconds by default |
-| transport.serialization | Client and server communication codec method |
seata (ByteBuf), protobuf, kryo, hessian,
-default seata |
-| transport.compressor | Compression method of communication data between
client and server | none, gzip, zip, sevenz,
-bzip2, lz4, deflater, zstd, default none | Before 1.2.0: gzip<br/>1.2.0: zip,
7z, bzip2<br/>1.3.0: lz4<br/>1.4.1:
-deflater <br/> 1.5.1: zstd |
-| transport.heartbeat | The heartbeat detection switch for client server
communication | The default value is true |
-| Registry.type | Registry type | Default file, supports file, nacos, redis,
eureka, zk, consumer, etcd3, sofa, and
-custom | 1.6.0 Server supports simultaneous registration to multiple
registries, separating registry names with commas |
-| Config.type | Configuration center type | default file, supporting file,
nacos, apollo, zk, consult, etcd3,
-springcloud, custom |
+| key | desc
| remark
| change record
|
+| ---------------------------------------- |
----------------------------------------- |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------
|
+| transport.threadFactory.bossThreadSize | Netty communication model Boss
group threads | Default 1
|
+| transport.threadFactory.workerThreadSize | Netty communication model Worker
group threads | The number of threads can be configured or the number of
threads in a specific thread working mode can be selected. There are four
default working modes of threads: Auto (2 _ CPU cores+1), Pin (CPU cores,
applicable to computing intensive tasks), BusyPin (CPU cores+1, applicable to
computing intensive and memory limited scenarios) Default (2 _ CPU cores,
applicable to IO intensive tasks), the de [...]
+| transport.shutdown.wait | Time to wait for service offline
before the Netty thread pool on the server is closed | 3 seconds by default
|
+| transport.serialization | Client and server communication
codec method | seata (ByteBuf), protobuf, kryo, hessian, default seata
|
+| transport.compressor | Compression method of
communication data between client and server | none, gzip, zip, sevenz, bzip2,
lz4, deflater, zstd, default none
| Before
1.2.0: gzip<br/>1.2.0: zip, 7z, bzip2<br/>1.3.0: lz4<br/>1.4.1: deflater <br/>
1.5.1: zstd |
+| transport.heartbeat | The heartbeat detection switch
for client server communication | The default value is true
|
+| registry.type | Registry type
| Default file, supports file, nacos, redis, eureka, zk, consumer,
etcd3, sofa, and custom
| 1.6.0 Server supports
simultaneous registration to multiple registries, separating registry names
with commas [...]
+| config.type | Configuration center type
| default file, supporting file, nacos, apollo, zk,
consult, etcd3, springcloud, custom |
### Server side
@@ -138,13 +127,13 @@ springcloud, custom |
| store.file.dir | file mode file storage
folder name
| default sessionStore
[...]
| store.file.maxBranchSessionSize | File mode file storage
branch session maximum bytes
| 16384 (16kb) by default, in bytes
[...]
| store.file.maxGlobalSessionSize | File mode file stores the
maximum number of global session bytes
| 512b by default, in bytes
[...]
-| store.file.fileWriteBufferCacheSize | File mode file storage
buffer maximum cache size
| 16384 (16kb) by default, in bytes. When the
amount of data such as session written is greater than this value, an exception
will be thrown
[...]
+| store.file.fileWriteBufferCacheSize | File mode file storage
buffer maximum cache size
| 16384 (16kb) by default, in bytes. When the
amount of data such as session written is greater than this value, an exception
will be thrown
[...]
| store.file.flushDiskMode | file mode file storage
flushing policy
| default async, optional sync
[...]
| store.file.sessionReloadReadSize | File mode File storage
The maximum number of session or lock keys recovered from the backup file after
the server node restarts
| 100 by default
[...]
| store.db.datasource | db mode data source type
| dbcp, druid, hikari; No default value, store
Must be specified when mode=db
[...]
| store.db.dbType | db mode database type
| mysql, oracle, db2, sqlserver, sybaee, h2,
sqlite, access, postgresql, oceanbase; No default value, store Mode=db must be
specified
[...]
| store.db.driverClassName | db mode database driver
| store Must be specified when mode=db
[...]
-| store.db.url | db mode database url
| store When mode=db, it must be specified. When
using MySQL as the data source, it is recommended to add
'rewriteBatchedStatements=true' to the connection parameters (see Appendix 7
for detailed reasons) [...]
+| store.db.url | db mode database url
| store When mode=db, it must be specified. When
using MySQL as the data source, it is recommended to add
'rewriteBatchedStatements=true' to the connection parameters (see Appendix 7
for detailed reasons) [...]
| store.db.user | db mode database account
| store Must be specified when mode=db
[...]
| store.db.password | db mode database account
password
| store Must be specified when mode=db
[...]
| store.db.minConn | initial connections of db
mode database
| 1 by default
[...]
diff --git
a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
index a29f994578d..2453396a046 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
@@ -33,7 +33,6 @@ description: Seata 参数配置。
| key | desc
| remark
| change record
|
| ---------------------------------------- |
----------------------------------------- |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------------
|
-
| transport.threadFactory.bossThreadSize | Netty 通信模型 Boss group 线程数
| 默认 1
|
| transport.threadFactory.workerThreadSize | Netty 通信模型 Worker group 线程数
| 可配置线程数或选择特定线程工作模式下的线程数,线程的默认工作模式有 4 种:Auto(2\*CPU 核数 + 1)、Pin(CPU
核数,适用于计算密集型任务)、BusyPin(CPU 核数 + 1,适用于计算密集型且内存比较有限的场景)、Default(2\*CPU 核数,适用于 IO
密集型任务),默认值为 Default 模式 |
| transport.shutdown.wait | 服务端 Netty 线程池关闭前等待服务下线时间 | 默认 3 秒
|
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]