O'Reilly logo

Learning Karaf Cellar by Jean-Baptiste Onofré

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Regex and event identification

Finally, we have to specify the cluster event. The purpose is to allow (whitelist) or block (blacklist) specific cluster events. For instance, we want to block the following:

  • The cluster event that contains a change in the feature named my-feature
  • The cluster event that contains a change in the bundle named my-bundle

So, we have to identify and declare the cluster event. To identify a cluster event, we can use the following:

  • The event identifier can be used; for instance, org.apache.karaf.cellar.groups identifies the configuration's cluster event (PID).
  • A regular expression (regex) or glob based on the event identifier can be used. Declaring events using the full qualified name can be tedious. The usage of a regex is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required