Skip to content

UNOMI-877: Replace Karaf Cellar and Hazelcast with PersistenceService for cluster synchronization#723

Merged
sergehuber merged 2 commits into
apache:masterfrom
jayblanc:UNOMI-877
Aug 22, 2025
Merged

UNOMI-877: Replace Karaf Cellar and Hazelcast with PersistenceService for cluster synchronization#723
sergehuber merged 2 commits into
apache:masterfrom
jayblanc:UNOMI-877

Conversation

@jayblanc
Copy link
Copy Markdown
Contributor

@jayblanc jayblanc commented Aug 22, 2025

UNOMI-877: Replace Karaf Cellar and Hazelcast with PersistenceService for Cluster Synchronization

Overview

This Pull Request extracts and refactors the ClusterService code from the unomi-3-dev branch, focusing on modernizing cluster synchronization in Apache Unomi by:

  • Replacing legacy solutions (Karaf Cellar and Hazelcast) with the new PersistenceService.
  • Improving maintainability and future-proofing the cluster architecture.

Key Changes

  • ClusterService Refactor: Legacy synchronization mechanisms have been removed in favor of a simplified and more robust approach based on PersistenceService.
  • Temporary Scheduler Implementation: Due to the absence of an updated Scheduler Service, a classic ScheduledExecutor is used as a temporary solution. This will be replaced in a future PR (UNOMI-878).
  • Testing: Unit tests are not included in this PR, as they depend on further upgrades to the Persistence layer and will be provided in a subsequent PR.
  • File Changes:
    • 8 files changed
    • 575 lines added
    • 236 lines removed
    • 2 commits

Next Steps

  • Integrate the new Scheduler Service once available (UNOMI-878)
  • Add comprehensive unit tests after upgrading related components

@jayblanc jayblanc marked this pull request as ready for review August 22, 2025 09:21
… for cluster synchronization (code isolated from branch unomi-3-dev made by Serge Hubert)
@sergehuber sergehuber merged commit 3f995e4 into apache:master Aug 22, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants