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 just initializes logging
& statuschek. It is useful for embedding agent plugins into different projects
that use their own infrasturcure.
RPC flavor - a collection of plugins that exposes 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.
Package flavors contains predefined cn-infra flavors. A flavor is a
re-usable collection of plugins with initialized dependencies. It is
typically used as a starting point for developing a cn-infra based app.
A flavor contains plugins required by the app. App developers can also
define their own flavors or extend one of the predefined flavors.