https://github.com/jloisel/spring-boot-hazelcast
Spring Boot + Hazelcast Integration
https://github.com/jloisel/spring-boot-hazelcast
distributed-systems hazelcast spring spring-boot springboot2
Last synced: 2 months ago
JSON representation
Spring Boot + Hazelcast Integration
- Host: GitHub
- URL: https://github.com/jloisel/spring-boot-hazelcast
- Owner: jloisel
- License: apache-2.0
- Created: 2018-06-11T08:13:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-02T22:35:19.000Z (over 1 year ago)
- Last Synced: 2025-03-23T16:11:41.032Z (3 months ago)
- Topics: distributed-systems, hazelcast, spring, spring-boot, springboot2
- Language: Java
- Size: 102 KB
- Stars: 12
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Spring Boot + Hazelcast Integration
## Introduction
Spring Boot Web application with configurable clustering:
- `cluster-api`: Interfaces hiding the clustering implementation used,
- `cluster-jvm`: no clustering backed by JVM data structures (like HashMap),
- `cluster-hazelcast`: clusterting backend by [Hazelcast](https://hazelcast.org).This allows you to create a web application which supports single-jvm or clustered data structures depending on configuration in `application.yml`:
```yml
clustering:
driver: hazelcast # Enable Hazelcast Clustering
```
## Pre-RequisitesThis project uses [Lombok](https://projectlombok.org/) which requires **Annotations Processors** to be enabled in Eclipse / Intellij when importing from sources. Requires **Java 8** or later.
## Demo Application
Run with intellij:
- **Main class**: `com.octoperf.Application`
- **Use classpath of module**: `application`,
- **Working Directory**: `$MODULE_DIR$`,
- **VM Options**: `-Dspring.profiles.active=hazelcast` to run with hazelcast clustering. Nothing otherwise.