When the consumer receives a cluster event's message, it delegates the message to a handler depending on the type of the cluster event.
You have one handler per type of resource that Cellar manages. The following is a list of the event handlers:
ConfigurationEventHandler
: This is responsible for handling cluster events related to configurations (for instance, events that come from thecluster:config-*
orconfig:*
commands)BundleEventHandler
: This is responsible for handling cluster events related to bundles (for instance, events that come from thecluster:bundle-*
orosgi:*
commands)FeaturesEventHandler
: This is responsible for handling cluster events related to features (for instance, events that come from thecluster:feature-*
orfeatures:*
commands)ObrBundleEventHandler
andObrUrlEventHandler
(optional): These are responsible for handling cluster events related to the OBR service (for instance, events that come from thecluster:obr-*
orobr:*
commands)ClusterEventHandler...