A flavor is a reusable collection of plugins with initialized dependencies.
The most importatnt CN-Infra flavors are:
- local flavor - a minimal set of plugins. It is used to just initialize logging & statuscheck. It is useful for embedding agent plugins into different projects that use their own infrastructure.
- RPC flavor - a collection of plugins that expose RPCs.
It also registers management APIs for:
- status check (RPCs probed from systems such as K8s)
- logging (for changing log level at runtime remotely)
- connectors flavor - is combination of ETCD, Cassandra, Redis & Kafka related plugins.
The following diagram depicts:
- plugins that are parts of a specific flavor
- the initialized (injected) statuscheck dependency within the etcd client plugin and the Kafka client plugin
- the local flavor embedded in: