-
Book Overview & Buying
-
Table Of Contents
Learning Karaf Cellar
By :
The filtering of cluster events is defined in the etc/org.apache.karaf.cellar.groups.cfg configuration file. In this configuration file, you can find the filters with the following format:
cluster_group.[bundle|config|features].[whitelist|blacklist].[inbound|outbound]=regex
For instance, the following configuration blocks (blacklist) the incoming cluster events (inbound) that contain features named my-feature or other-* in the default cluster group:
default.features.blacklist.inbound=my-feature,other-*
Cellar provides a default filtering configuration for the default cluster group. This configuration is used as a template when you create a new cluster group. You can update the filters' configuration live by directly modifying the configuration on the node or using the config:* and cluster:config-* commands.
For instance, to add a new filter to a cluster group, you can run the following commands:
karaf@root> config:edit org.apache.karaf.cellar.groups karaf@root...
Change the font size
Change margin width
Change background colour