Skip to content

Conversation

@sergehuber
Copy link
Contributor

@sergehuber sergehuber 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.

Next Steps

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

UNOMI-877: Not sending event to cluster anymore.
UNOMI-877: Replace Karaf Cellar and Hazelcast with PersistenceService for cluster synchronization (code isolated from branch unomi-3-dev made by Serge Huber)
@sergehuber sergehuber requested review from jsinovassin and removed request for jsinovassin August 22, 2025 13:58
@sergehuber sergehuber merged commit e7be881 into master Aug 27, 2025
5 checks passed
@sergehuber sergehuber deleted the UNOMI-877 branch August 27, 2025 11:05
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.

3 participants