Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cescoffier/wisdom-hazelcast-sample
A demo using Hazelcast and Vertx to allow two Wisdom instances to interact
https://github.com/cescoffier/wisdom-hazelcast-sample
Last synced: 19 days ago
JSON representation
A demo using Hazelcast and Vertx to allow two Wisdom instances to interact
- Host: GitHub
- URL: https://github.com/cescoffier/wisdom-hazelcast-sample
- Owner: cescoffier
- License: apache-2.0
- Created: 2015-01-25T15:29:16.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-25T15:37:20.000Z (almost 10 years ago)
- Last Synced: 2024-10-17T07:53:13.790Z (about 1 month ago)
- Language: Java
- Size: 152 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wisdom Hazelcast Sample
In this demo, 2 instances of Wisdom are communicating through a distributed Vert.x Event Bus using Hazelcast.
The `sender` application is a Wisdom application "sending" random data on the Event Bus.
The `receiver` application is another Wisdom application "receiving" the sent data and publishing it on a Web Sockets.
The 2 applications are running on separated Java Virtual Machine and potentially on different machines.
## Launch the demo
### Preparation
In both project edit the `src/main/configuration/cluster.xml` file and edit the `interfaces` element to match the netwrok interface you want to use.
### Execution
1. Open 2 terminals.
2. In the first one, navigate to the 'sender' project and launch `mvn clean wisdom:run`
3. In the second terminal, navigate to the `receiver` project and launch `mvn clean install`
4. Open http://localhost:9000/assets/data.htmlA chart depicting received data should be there.