O'Reilly logo

Learning Apache Karaf by Heath Kesler, Johan Edstrom, Jamie Goodyear

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Node discovery

Once you install Cellar on a Karaf instance, that instance automatically becomes a node in a cluster and will try to discover other nodes. It will do this using multicast or unicast provided by Hazelcast. The great thing about using Hazelcast for discovery is that there is no single point of failure in a multinode deployment. Each node has its own instance of Hazelcast and will receive event/changes from all other nodes in the topology. When a node is instructed to update/add/remove a configuration, feature, or bundle, it will check the shared repository for the change and update the local container accordingly.

At that point, the event is broadcast to the other nodes and they are instructed to make the same change using the same ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required