Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Karaf Cellar
  • Table Of Contents Toc
Learning Karaf Cellar

Learning Karaf Cellar

By : Jean Baptiste Onofre, Jean-Baptiste Onofré
5 (1)
close
close
Learning Karaf Cellar

Learning Karaf Cellar

5 (1)
By: Jean Baptiste Onofre, Jean-Baptiste Onofré

Overview of this book

This book is a tutorial written with a step-by-step approach to help you implement an optimum clustering solution in Apache Karaf Cellar quickly and efficiently. If you are new to Karaf and want to install and manage multiple Karaf instances by farming or clustering, then this book is for you. If you are a Java developer or a system administrator with basic knowledge of Karaf, you can use this book as a guide. Some background knowledge of OSGi and/or Karaf would be preferred but is not mandatory.
Table of Contents (11 chapters)
close
close

The configuration of the filters


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...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Karaf Cellar
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon