-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Clustering
-
Tags:
-
Impact type:Configuration Change
-
Upgrade notes:
-
Sprint:nxFG 10.3.3, nxFG 10.3.4, nxFG 10.3.5, nxFG 10.3.6, nxFG 10.3.7, nxFG 10.10.4
-
Story Points:3
We need a small service to hold info about whether clustering is enabled and the cluster node id.
This will replace ad-hoc uses of the framework properties repository.clustering.enabled and repository.clustering.id and multiple different random generations of ids when there is no node id specified.
Current direct users of the properties are:
- MigrationServiceImpl
- StreamPubSubProvider
- CacheServiceImpl
In addition, the property is used in templates to fill in the repository's descriptor cluster node id — this should use the new service as well.