Skip to content

Commit 89f6129

Browse files
chore: Update Java Properties (#2261)
Updates Java properties to the latest version. Co-authored-by: chgeo <7470719+chgeo@users.noreply.github.com>
1 parent 9c1be98 commit 89f6129

File tree

1 file changed

+73
-14
lines changed

1 file changed

+73
-14
lines changed

java/developing-applications/properties.json

Lines changed: 73 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@
949949
"header": false,
950950
"name": "cds.multiTenancy.serviceManager.cacheRefreshInterval",
951951
"type": "Duration",
952-
"default": "PT2M",
952+
"default": "PT20M",
953953
"doc": "The cache refresh interval (as Duration)."
954954
},
955955
{
@@ -975,7 +975,7 @@
975975
"header": false,
976976
"name": "cds.multiTenancy.hanaMtService.hanaTenantPrefix",
977977
"type": "String",
978-
"doc": "Optional prefix for HANA tenant id calculation as hash from <hanaTenantPrefix>_<btp tenant<br>id>"
978+
"doc": "Optional prefix for HANA tenant id calculation as hash from <hanaTenantPrefix>-<btp tenant<br>id>"
979979
},
980980
{
981981
"header": true,
@@ -1805,6 +1805,70 @@
18051805
"default": "true",
18061806
"doc": "Determines, if it is enabled."
18071807
},
1808+
{
1809+
"header": true,
1810+
"name": "cds.outbox.persistent.statusLock",
1811+
"doc": "Properties to configure the locking strategy using a status column. By default row-level<br>database locks are used. Only enable status locks, if all deployed instances are already<br>using @sap/cds-dk >= 9 and CAP Java >= 4.5.0 and have already set<br>`cds.outbox.persistent.scheduler.enabled` to `true`"
1812+
},
1813+
{
1814+
"header": false,
1815+
"name": "cds.outbox.persistent.statusLock.timeout",
1816+
"type": "Duration",
1817+
"default": "PT1H",
1818+
"doc": "The timeout, after which a message with status PROCESSING is considered for processing by<br>other instances again."
1819+
},
1820+
{
1821+
"header": false,
1822+
"name": "cds.outbox.persistent.statusLock.enabled",
1823+
"type": "boolean",
1824+
"default": "false",
1825+
"doc": "Determines, if it is enabled."
1826+
},
1827+
{
1828+
"header": true,
1829+
"name": "cds.outbox.persistent.scheduler",
1830+
"doc": "Properties for the task-based outbox collector."
1831+
},
1832+
{
1833+
"header": false,
1834+
"name": "cds.outbox.persistent.scheduler.enabled",
1835+
"type": "boolean",
1836+
"default": "true",
1837+
"doc": "Determines, if it is enabled."
1838+
},
1839+
{
1840+
"header": true,
1841+
"name": "cds.outbox.persistent.scheduler.allTenantsTask",
1842+
"doc": "Properties to configure regular iterations over outbox tables of all tenants."
1843+
},
1844+
{
1845+
"header": false,
1846+
"name": "cds.outbox.persistent.scheduler.allTenantsTask.startDelay",
1847+
"type": "Duration",
1848+
"default": "PT30S",
1849+
"doc": "The time to wait after startup, before triggering this task for the first time."
1850+
},
1851+
{
1852+
"header": false,
1853+
"name": "cds.outbox.persistent.scheduler.allTenantsTask.interval",
1854+
"type": "Duration",
1855+
"default": "PT2H",
1856+
"doc": "The time to wait between executions of this task."
1857+
},
1858+
{
1859+
"header": false,
1860+
"name": "cds.outbox.persistent.scheduler.allTenantsTask.spreadTime",
1861+
"type": "Duration",
1862+
"default": "PT15M",
1863+
"doc": "The time span over which checks of individual tenants are randomly distributed."
1864+
},
1865+
{
1866+
"header": false,
1867+
"name": "cds.outbox.persistent.scheduler.allTenantsTask.enabled",
1868+
"type": "boolean",
1869+
"default": "false",
1870+
"doc": "Determines, if it is enabled."
1871+
},
18081872
{
18091873
"header": true,
18101874
"name": "cds.outbox.services",
@@ -1823,6 +1887,13 @@
18231887
"default": "10",
18241888
"doc": "Specifies the maximum number of attempts to emit a message stored in the Outbox. Messages<br>that have reached the maximum number of attempts are ignored by the Outbox and need to be<br>handled by the application."
18251889
},
1890+
{
1891+
"header": false,
1892+
"name": "cds.outbox.services.<key>.threads",
1893+
"type": "int",
1894+
"default": "2",
1895+
"doc": "Determines the size of the thread pool, used to process outbox tasks. This configuration<br>only applies to outbox instances configured as `ordered: false`. For outbox instances<br>configured as `ordered: true` only one thread is used."
1896+
},
18261897
{
18271898
"header": false,
18281899
"name": "cds.outbox.services.<key>.ordered",
@@ -1851,18 +1922,6 @@
18511922
"default": "true",
18521923
"doc": "Determines, if it is enabled."
18531924
},
1854-
{
1855-
"header": true,
1856-
"name": "cds.taskScheduler",
1857-
"doc": "Properties for the Task Scheduler."
1858-
},
1859-
{
1860-
"header": false,
1861-
"name": "cds.taskScheduler.enabled",
1862-
"type": "boolean",
1863-
"default": "false",
1864-
"doc": "Determines, if it is enabled."
1865-
},
18661925
{
18671926
"header": true,
18681927
"name": "cds.ucl",

0 commit comments

Comments
 (0)