Skip to content

Latest commit

 

History

History
112 lines (91 loc) · 4.01 KB

pipelines.md

File metadata and controls

112 lines (91 loc) · 4.01 KB

Pipelines

monasca-docker is home for two pipelines, one for processing metrics and the other one for processing logs. Each pipeline requires a set of services to be complete.

Metric pipeline

Metrics pipeline requires the following services to be launched or available (providing they are hosted externally):

Some of the services require initialization prior to launching, hence the following are available:

There is also:

Log pipeline

Logs pipeline requires the following services to be launched or available (providing they are hosted externally):

Some of the services require initialization prior to launching, hence the following are available:

Dependencies

The majority of services that are part of monasca-docker require one or more additional services. The way to find out what dependencies a service has, is to open docker-compose.yml or log-pipeline.yml (depends on the service) and check if its definition contains depends_on. For example:

Kafka from docker-compose.yml definition is:

kafka:
  image: monasca/kafka:${MON_KAFKA_VERSION}
  depends_on:
    - zookeeper

It depends_on on Zookeeper. That means that either:

  • Zookeeper needs to be launched with docker-compose

  • Zookeeper should be provided externally and referenced with ZOOKEEPER_CONNECTION_STRING environmental variable

    If the components are hosted externally, you should remove depends_on. Otherwise docker-compose will try to launch the required services.