MCPcopy Index your code
hub / github.com/apache/karaf-cellar

github.com/apache/karaf-cellar @cellar-4.4.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release cellar-4.4.8 ↗ · + Follow
1,882 symbols 5,530 edges 320 files 473 documented · 25% updated 4mo agocellar-4.4.8 · 2025-09-12★ 51
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Apache Karaf Cellar

Apache Karaf Cellar is an Apache Karaf subproject. It provides a clustering solution for Apache Karaf powered by Hazelcast.

Overview

Cellar allows you to manage a cluster of several Karaf instances, providing synchronization between instances.

Here is a short list of features:

  • Discovery: when you install Cellar into a Karaf instance, it automatically tries to discover other Cellar instances and join the cluster. There is no configuration required to join the cluster, the discovery is made behind the scene. You can use multicast or unicast for discovery.
  • Cluster group: a Karaf node could be part of one or more cluster group. In Cellar, you can define cluster group depending on your requirements. The resources will be sync between nodes of the same group.
  • Distributed Configuration Admin: Cellar distributes the configuration data. The distribution is event driven and filtered by group. You can tune the configuration replication using blacklist/whitelist on the configuration ID (PID).
  • Distributed Features Service: Cellar distributes the features/repositories info. It's also event-driven.
  • Provisioning: Cellar provides shell commands for basic provisioning. It can also use an OBR backend or another provisioning tool such as Apache ACE.

Getting Started

For an Apache Karaf Cellar source distribution, please read BUILDING for instructions on building Apache Karaf.

To install Apache Karaf Cellar, first you have to register the Cellar features descriptor:

karaf@root()> feature:repo-add mvn:org.apache.karaf.cellar/apache-karaf-cellar/4.4.8/xml/features

Now, you can install the Cellar feature simply by typing:

karaf@root()> feature:install cellar

The PDF manual is the right place to find any information about Karaf Cellar.

Alternatively, you can also find out how to get started here:

https://karaf.apache.org/projects.html

If you need more help try talking to us on our mailing lists

https://karaf.apache.org/community.html

If you find any issues with Apache Karaf, please submit reports with JIRA here:

http://issues.apache.org/jira/browse/KARAF

We welcome contributions, and encourage you to get involved in the Karaf community. If you'd like to learn more about how you can contribute, please see:

https://karaf.apache.org/community.html

Thanks for using Apache Karaf Decanter !

The Apache Karaf Team

Extension points exported contracts — how you extend this code

Handler (Interface)
Generic handler. [20 implementers]
core/src/main/java/org/apache/karaf/cellar/core/Handler.java
Greeter (Interface)
Interface describing the Greeter service. [2 implementers]
samples/dosgi-greeter/api/src/main/java/org/apache/karaf/cellar/samples/dosgi/greeter/api/Greeter.java
ServiceMBean (Interface)
Describe the attributes and operations on the Cellar service MBean. [2 implementers]
dosgi/src/main/java/org/apache/karaf/cellar/dosgi/management/ServiceMBean.java
CellarFeaturesMBean (Interface)
Describe the operations and attributes on the Cellar Features MBean. [2 implementers]
features/src/main/java/org/apache/karaf/cellar/features/management/CellarFeaturesMBean.java
CellarLogMBean (Interface)
Describe the operations and attributes on the CellarLogMBean. [2 implementers]
log/src/main/java/org/apache/karaf/cellar/log/management/CellarLogMBean.java
CellarOBRMBean (Interface)
Describe the operations and attributes of the Cellar OBR MBean. [2 implementers]
obr/src/main/java/org/apache/karaf/cellar/obr/management/CellarOBRMBean.java
CellarBundleMBean (Interface)
Describe the operations and attributes on the Cellar bundle MBean. [2 implementers]
bundle/src/main/java/org/apache/karaf/cellar/bundle/management/CellarBundleMBean.java
CellarConfigMBean (Interface)
Describe the operations and attributes available on the Cellar configuration MBean. [2 implementers]
config/src/main/java/org/apache/karaf/cellar/config/management/CellarConfigMBean.java

Core symbols most depended-on inside this repo

get
called by 218
etcd/src/main/java/org/apache/karaf/cellar/etcd/internal/EtcdService.java
getName
called by 181
core/src/main/java/org/apache/karaf/cellar/core/control/Switch.java
getNode
called by 111
core/src/main/java/org/apache/karaf/cellar/core/GroupManager.java
equals
called by 107
core/src/main/java/org/apache/karaf/cellar/core/Group.java
getStatus
called by 85
core/src/main/java/org/apache/karaf/cellar/core/control/Switch.java
getId
called by 81
core/src/main/java/org/apache/karaf/cellar/core/Node.java
getMap
called by 80
core/src/main/java/org/apache/karaf/cellar/core/ClusterManager.java
getLogger
called by 70
log/src/main/java/org/apache/karaf/cellar/log/GetLogCommand.java

Shape

Method 1,526
Class 290
Interface 33
Function 27
Enum 6

Languages

Java99%
TypeScript1%

Modules by API surface

kubernetes/src/main/java/org/apache/karaf/cellar/kubernetes/KubernetesDiscoveryService.java61 symbols
hazelcast/src/main/java/org/apache/karaf/cellar/hazelcast/HazelcastGroupManager.java42 symbols
bundle/src/main/java/org/apache/karaf/cellar/bundle/management/internal/CellarBundleMBeanImpl.java29 symbols
features/src/main/java/org/apache/karaf/cellar/features/management/internal/CellarFeaturesMBeanImpl.java26 symbols
cloud/src/main/java/org/apache/karaf/cellar/cloud/BlobStoreDiscoveryService.java23 symbols
http/balancer/src/main/java/org/apache/karaf/cellar/http/balancer/CellarBalancerProxyServlet.java22 symbols
hazelcast/src/main/java/org/apache/karaf/cellar/hazelcast/QueueConsumer.java22 symbols
hazelcast/src/main/java/org/apache/karaf/cellar/hazelcast/management/internal/CellarMBeanImpl.java21 symbols
hazelcast/src/main/java/org/apache/karaf/cellar/hazelcast/TopicConsumer.java19 symbols
config/src/main/java/org/apache/karaf/cellar/config/management/internal/CellarConfigMBeanImpl.java19 symbols
config/src/main/java/org/apache/karaf/cellar/config/ConfigurationSupport.java19 symbols
obr/src/main/java/org/apache/karaf/cellar/obr/management/internal/CellarOBRMBeanImpl.java17 symbols

For agents

$ claude mcp add karaf-cellar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page