This project shows a simple example using the Apache Ignite cluster manager (instead of the Hazelcast cluster manager).
This project is composed by two small applications:
-
Producer App - sending data on the event bus
-
Consumer App - receiving data from the event bus
Starts these applications from your IDE, and you should see the sent and receive data (don’t forget to start both application).
The applications try to pick the network address automatically, but it may be wrong. In this case pass the IP of the interface you want to use as parameter.
you can launch the producer and consumer as follows:
mvn clean package java -jar target/ignite-examples-3.7.0-fat.jar run io.vertx.example.ignite.ProducerApp -cluster java -jar target/ignite-examples-3.7.0-fat.jar run io.vertx.example.ignite.ConsumerApp -cluster