additional-spring-configuration-metadata.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. {
  2. "groups": [],
  3. "properties": [
  4. {
  5. "name": "seata.application-id",
  6. "type": "java.lang.String",
  7. "sourceType": "io.seata.spring.boot.autoconfigure.properties.SeataProperties",
  8. "defaultValue": "${spring.application.name:}"
  9. },
  10. {
  11. "name": "seata.data-source-proxy-mode",
  12. "type": "java.lang.String",
  13. "sourceType": "io.seata.spring.boot.autoconfigure.properties.SeataProperties",
  14. "defaultValue": "AT"
  15. },
  16. {
  17. "name": "spring.cloud.alibaba.seata.application-id",
  18. "type": "java.lang.String",
  19. "description": "The application id, default value if '${spring.application.name}'.",
  20. "sourceType": "io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration",
  21. "defaultValue": "${spring.application.name:}",
  22. "deprecation": {
  23. "level": "warning",
  24. "replacement": "seata.application-id",
  25. "reason": "It may be removed in a future release, please configure to 'seata.application-id'."
  26. }
  27. },
  28. {
  29. "name": "spring.cloud.alibaba.seata.tx-service-group",
  30. "type": "java.lang.String",
  31. "description": "The tx-service-group.",
  32. "sourceType": "io.seata.spring.boot.autoconfigure.properties.SpringCloudAlibabaConfiguration",
  33. "deprecation": {
  34. "level": "warning",
  35. "replacement": "seata.tx-service-group",
  36. "reason": "It may be removed in a future release, please configure to 'seata.tx-service-group'."
  37. }
  38. },
  39. {
  40. "name": "seata.client.rm.async-commit-buffer-limit",
  41. "type": "java.lang.Integer",
  42. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  43. "defaultValue": 10000
  44. },
  45. {
  46. "name": "seata.client.rm.report-retry-count",
  47. "type": "java.lang.Integer",
  48. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  49. "defaultValue": 5
  50. },
  51. {
  52. "name": "seata.client.rm.table-meta-check-enable",
  53. "type": "java.lang.Boolean",
  54. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  55. "defaultValue": false
  56. },
  57. {
  58. "name": "seata.client.rm.table-meta-checker-interval",
  59. "type": "java.lang.Long",
  60. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  61. "defaultValue": 60000
  62. },
  63. {
  64. "name": "seata.client.rm.report-success-enable",
  65. "type": "java.lang.Boolean",
  66. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  67. "defaultValue": false
  68. },
  69. {
  70. "name": "seata.client.rm.saga-branch-register-enable",
  71. "type": "java.lang.Boolean",
  72. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  73. "defaultValue": false
  74. },
  75. {
  76. "name": "seata.client.rm.saga-json-parser",
  77. "type": "java.lang.String",
  78. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  79. "defaultValue": "fastjson"
  80. },
  81. {
  82. "name": "seata.client.rm.saga-retry-persist-mode-update",
  83. "type": "java.lang.Boolean",
  84. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  85. "defaultValue": false
  86. },
  87. {
  88. "name": "seata.client.rm.saga-compensate-persist-mode-update",
  89. "type": "java.lang.Boolean",
  90. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  91. "defaultValue": false
  92. },
  93. {
  94. "name": "seata.client.rm.tcc-action-interceptor-order",
  95. "type": "java.lang.Integer",
  96. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  97. "defaultValue": -2147482648
  98. },
  99. {
  100. "name": "seata.client.rm.sql-parser-type",
  101. "type": "java.lang.String",
  102. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.RmProperties",
  103. "defaultValue": "druid"
  104. },
  105. {
  106. "name": "seata.client.rm.lock.retry-interval",
  107. "type": "java.lang.Integer",
  108. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.LockProperties",
  109. "defaultValue": 10
  110. },
  111. {
  112. "name": "seata.client.rm.lock.retry-times",
  113. "type": "java.lang.Integer",
  114. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.LockProperties",
  115. "defaultValue": 30
  116. },
  117. {
  118. "name": "seata.client.rm.lock.retry-policy-branch-rollback-on-conflict",
  119. "type": "java.lang.Boolean",
  120. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.LockProperties",
  121. "defaultValue": true
  122. },
  123. {
  124. "name": "seata.client.tm.commit-retry-count",
  125. "type": "java.lang.Integer",
  126. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.TmProperties",
  127. "defaultValue": 5
  128. },
  129. {
  130. "name": "seata.client.tm.rollback-retry-count",
  131. "type": "java.lang.Integer",
  132. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.TmProperties",
  133. "defaultValue": 5
  134. },
  135. {
  136. "name": "seata.client.tm.default-global-transaction-timeout",
  137. "type": "java.lang.Integer",
  138. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.TmProperties",
  139. "defaultValue": 60000
  140. },
  141. {
  142. "name": "seata.client.tm.degrade-check",
  143. "type": "java.lang.Boolean",
  144. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.TmProperties",
  145. "defaultValue": false
  146. },
  147. {
  148. "name": "seata.client.tm.degrade-check-period",
  149. "type": "java.lang.Integer",
  150. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.TmProperties",
  151. "defaultValue": 2000
  152. },
  153. {
  154. "name": "seata.client.tm.degrade-check-allow-times",
  155. "type": "java.lang.Integer",
  156. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.TmProperties",
  157. "defaultValue": 10
  158. },
  159. {
  160. "name": "seata.client.tm.interceptor-order",
  161. "type": "java.lang.Integer",
  162. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.TmProperties",
  163. "defaultValue": -2147482648
  164. },
  165. {
  166. "name": "seata.client.undo.data-validation",
  167. "type": "java.lang.Boolean",
  168. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.UndoProperties",
  169. "defaultValue": true
  170. },
  171. {
  172. "name": "seata.client.undo.log-serialization",
  173. "type": "java.lang.String",
  174. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.UndoProperties",
  175. "defaultValue": "jackson"
  176. },
  177. {
  178. "name": "seata.client.undo.log-table",
  179. "type": "java.lang.String",
  180. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.UndoProperties",
  181. "defaultValue": "undo_log"
  182. },
  183. {
  184. "name": "seata.client.undo.only-care-update-columns",
  185. "type": "java.lang.Boolean",
  186. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.UndoProperties",
  187. "defaultValue": true
  188. },
  189. {
  190. "name": "seata.client.undo.compress.enable",
  191. "type": "java.lang.Boolean",
  192. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.UndoCompressProperties",
  193. "defaultValue": true
  194. },
  195. {
  196. "name": "seata.client.undo.compress.type",
  197. "type": "java.lang.String",
  198. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.UndoCompressProperties",
  199. "defaultValue": "zip"
  200. },
  201. {
  202. "name": "seata.client.undo.compress.threshold",
  203. "type": "java.lang.String",
  204. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.UndoCompressProperties",
  205. "defaultValue": "64k"
  206. },
  207. {
  208. "name": "seata.service.disable-global-transaction",
  209. "type": "java.lang.Boolean",
  210. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.ServiceProperties",
  211. "defaultValue": false
  212. },
  213. {
  214. "name": "seata.client.load-balance.type",
  215. "type": "java.lang.String",
  216. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.LoadBalanceProperties",
  217. "defaultValue": "RandomLoadBalance"
  218. },
  219. {
  220. "name": "seata.client.load-balance.virtual-nodes",
  221. "type": "java.lang.Integer",
  222. "sourceType": "io.seata.spring.boot.autoconfigure.properties.client.LoadBalanceProperties",
  223. "defaultValue": 10
  224. },
  225. {
  226. "name": "seata.registry.load-balance",
  227. "type": "java.lang.String",
  228. "sourceType": "io.seata.spring.boot.autoconfigure.properties.registry.RegistryProperties",
  229. "defaultValue": "RandomLoadBalance",
  230. "deprecation": {
  231. "level": "error",
  232. "replacement": "seata.client.load-balance.type",
  233. "reason": "Please configure to 'seata.client.load-balance.type'."
  234. }
  235. },
  236. {
  237. "name": "seata.registry.load-balance-virtual-nodes",
  238. "type": "java.lang.Integer",
  239. "sourceType": "io.seata.spring.boot.autoconfigure.properties.registry.RegistryProperties",
  240. "defaultValue": 10,
  241. "deprecation": {
  242. "level": "error",
  243. "replacement": "seata.client.load-balance.virtual-nodes",
  244. "reason": "Please configure to 'seata.client.load-balance.virtual-nodes'."
  245. }
  246. },
  247. {
  248. "name": "seata.tcc.fence.log-table-name",
  249. "type": "java.lang.String",
  250. "description": "TCC fence log table name.",
  251. "sourceType": "io.seata.rm.tcc.config.TCCFenceConfig",
  252. "defaultValue": "tcc_fence_log"
  253. },
  254. {
  255. "name": "seata.tcc.fence.clean-period",
  256. "type": "java.time.Duration",
  257. "description": "TCC fence log clean period. only duration type format are supported.",
  258. "sourceType": "io.seata.rm.tcc.config.TCCFenceConfig",
  259. "defaultValue": "1d"
  260. },
  261. {
  262. "name": "seata.saga.enabled",
  263. "type": "java.lang.Boolean",
  264. "description": "Whether enable saga auto configuration.",
  265. "sourceType": "io.seata.spring.boot.autoconfigure.SeataSagaAutoConfiguration",
  266. "defaultValue": false
  267. },
  268. {
  269. "name": "seata.saga.state-machine.table-prefix",
  270. "type": "java.lang.String",
  271. "sourceType": "io.seata.saga.engine.config.DbStateMachineConfig",
  272. "defaultValue": "seata_"
  273. },
  274. {
  275. "name": "seata.saga.state-machine.enable-async",
  276. "type": "java.lang.Boolean",
  277. "description": "Whether enable state machine async function.",
  278. "sourceType": "io.seata.saga.engine.impl.DefaultStateMachineConfig",
  279. "defaultValue": false
  280. },
  281. {
  282. "name": "seata.saga.state-machine.charset",
  283. "type": "java.lang.String",
  284. "description": "State machine repository charset.",
  285. "sourceType": "io.seata.saga.engine.impl.DefaultStateMachineConfig",
  286. "defaultValue": "UTF-8"
  287. },
  288. {
  289. "name": "seata.saga.state-machine.default-tenant-id",
  290. "type": "java.lang.String",
  291. "description": "Default tenant id.",
  292. "sourceType": "io.seata.saga.engine.impl.DefaultStateMachineConfig",
  293. "defaultValue": "000001"
  294. },
  295. {
  296. "name": "seata.saga.state-machine.auto-register-resources",
  297. "type": "java.lang.Boolean",
  298. "description": "Whether enable auto register state lang resources.",
  299. "sourceType": "io.seata.saga.engine.impl.DefaultStateMachineConfig",
  300. "defaultValue": true
  301. },
  302. {
  303. "name": "seata.saga.state-machine.resources",
  304. "type": "java.util.List<java.lang.String>",
  305. "description": "State lang resources.",
  306. "sourceType": "io.seata.saga.engine.impl.DefaultStateMachineConfig",
  307. "defaultValue": "classpath*:seata/saga/statelang/**/*.json"
  308. },
  309. {
  310. "name": "seata.saga.state-machine.service-invoke-timeout",
  311. "type": "java.lang.Integer",
  312. "sourceType": "io.seata.saga.engine.impl.DefaultStateMachineConfig",
  313. "defaultValue": 300000
  314. },
  315. {
  316. "name": "seata.saga.state-machine.trans-operation-timeout",
  317. "type": "java.lang.Integer",
  318. "sourceType": "io.seata.saga.engine.impl.DefaultStateMachineConfig",
  319. "defaultValue": 1800000
  320. }
  321. ],
  322. "hints": [
  323. {
  324. "name": "seata.data-source-proxy-mode",
  325. "values": [
  326. {
  327. "value": "AT",
  328. "description": "the default mode."
  329. },
  330. {
  331. "value": "XA"
  332. }
  333. ]
  334. },
  335. {
  336. "name": "seata.excludes-for-auto-proxying",
  337. "providers": [
  338. {
  339. "name": "class-reference",
  340. "parameters": {
  341. "target": "javax.sql.DataSource"
  342. }
  343. }
  344. ]
  345. },
  346. {
  347. "name": "seata.client.load-balance.type",
  348. "values": [
  349. {
  350. "value": "RandomLoadBalance",
  351. "description": "the default load balance."
  352. },
  353. {
  354. "value": "ConsistentHashLoadBalance"
  355. },
  356. {
  357. "value": "RoundRobinLoadBalance"
  358. },
  359. {
  360. "value": "LeastActiveLoadBalance"
  361. }
  362. ]
  363. },
  364. {
  365. "name": "seata.client.rm.saga-json-parser",
  366. "values": [
  367. {
  368. "value": "fastjson",
  369. "description": "the default parser."
  370. },
  371. {
  372. "value": "jackson"
  373. }
  374. ]
  375. },
  376. {
  377. "name": "seata.client.rm.sql-parser-type",
  378. "values": [
  379. {
  380. "value": "druid",
  381. "description": "the default type."
  382. },
  383. {
  384. "value": "antlr",
  385. "description": "'io.seata:seata-sqlparser-antlr' dependency must be referenced manually."
  386. }
  387. ]
  388. },
  389. {
  390. "name": "seata.client.undo.log-serialization",
  391. "values": [
  392. {
  393. "value": "jackson",
  394. "description": "the default serialization."
  395. },
  396. {
  397. "value": "fastjson"
  398. },
  399. {
  400. "value": "kryo"
  401. },
  402. {
  403. "value": "protostuff"
  404. },
  405. {
  406. "value": "fst"
  407. }
  408. ]
  409. },
  410. {
  411. "name": "seata.client.undo.compress.type",
  412. "providers": [
  413. {
  414. "name": "handle-as",
  415. "parameters": {
  416. "target": "io.seata.core.compressor.CompressorType"
  417. }
  418. }
  419. ]
  420. },
  421. {
  422. "name": "seata.saga.state-machine.resources",
  423. "providers": [
  424. {
  425. "name": "handle-as",
  426. "parameters": {
  427. "target": "org.springframework.core.io.Resource"
  428. }
  429. }
  430. ]
  431. },
  432. {
  433. "name": "seata.saga.state-machine.charset",
  434. "providers": [
  435. {
  436. "name": "handle-as",
  437. "parameters": {
  438. "target": "java.nio.charset.Charset"
  439. }
  440. }
  441. ]
  442. }
  443. ]
  444. }