Component
Definition
A component is a process/bunch of processes that need to be executed as a unit. An example of a component is an application, cache, datastore. It is used as a building block in Services. Components cannot exist on their own; they exist only as a part of a service.
Every component is of a pre-defined type, which has default fields set. These fields can be optionally overridden(as and when they are whitelisted on the backend on a case-to-case basis).
Specification
type
name
string
version
config
Example
Below is a specification to define a component of type cassandra with version 3.11.8
Example for application
Pro Tip
Supported Discovery Type
*Applicable only for component type application
public
service will be publicly available
private
available for internal discovery
both
open to both public and private network
none
used to disable discovery e.g. in case of kafka-consumer
where the application is not discoverable
Available config for a component
Every component exposes config with options that can be accessed by.
Last updated