Book Image

Learning Karaf Cellar

By : Jean Baptiste Onofre, Jean-Baptiste Onofré
Book Image

Learning Karaf Cellar

By: Jean Baptiste Onofre, Jean-Baptiste Onofré

Overview of this book

Table of Contents (16 chapters)

Chapter 6. The Filtering of Cluster Events

In the previous chapter, we saw how cluster events are created and transported using producers, consumers, and handlers. We saw that we have one internal queue managed per resource (bundle, feature, and configuration) and per cluster group. This allows us to group the nodes and target the provisioning of a resource on a specific group. So, it's the first kind of filtering at the node level.

In this chapter, we will cover the following topics:

  • How to filter the cluster events in a given cluster group

  • How to define the resources (bundles, features, configurations, and OBRs) to be filtered

  • How to define the direction of the filter (coming in or going out from the nodes)