Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Karaf Cellar

You're reading from   Learning Karaf Cellar Build and implement a complete clustering solution for the Apache Karaf OSGi container

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783984602
Length 124 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Jean Baptiste Onofre Jean Baptiste Onofre
Author Profile Icon Jean Baptiste Onofre
Jean Baptiste Onofre
Jean-Baptiste Onofré Jean-Baptiste Onofré
Author Profile Icon Jean-Baptiste Onofré
Jean-Baptiste Onofré
Arrow right icon
View More author details
Toc

Apache Karaf Cellar architecture

Apache Karaf Cellar provides an API to implement the cluster component. The default cluster component implementation is powered by Hazelcast.

Hazelcast is a clustering and scalable data distribution solution. It provides features that exactly match the needs for the cluster component, especially the following:

  • A distributed storage implementation. This is where Apache Karaf Cellar will store the resources' status.
  • A distributed topic for publish/subscribe messaging. Apache Karaf Cellar will use this distributed topic to implement cluster events.

These are the two functionalities we are looking for in our cluster component.

However, Hazelcast also provides additional features. Thanks to Hazelcast, Apache Karaf Cellar supports different ways to discover the nodes of the cluster: static IP address definition, multicast, and whiteboard registration. The following diagram shows the modules provided by Karaf:

Apache Karaf Cellar architecture

The first thing to do is install Cellar in the different...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime