music-manager-job-router

command module
v0.0.0-...-f874754 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

README

Job Router

Project's page

Actual Repo

pipeline status coverage report Quality Gate Status

Service that routes jobs to Wrappers and Job Manager. When job finishes status is sended to Status Manager, if job finishes successfully it is also sended to Storage Manager.

See Job Routing Docs for more info.

Service Config

This service requires the following config:

sever

Contains Rabbitmq server access credentials.

wrappers

Contains Rabbitmq queue configuration for each wrapper that will consume jobs.

jobmanager

Contains Rabbitmq queue configuration for jobs queue where JobManager sends jobs to be routed by JobRouter

wrapperoutput

Contains Rabbitmq queue configuration for jobs queue where wrappers send jobs to be routed or finished by JobRouter

status

Contains StatusManager service name

storage

Contains StorageManager service name

Config example

This service will look for its config in /etc/music-manager/config.toml, parent folder can be changed setting the environment variable MUSIC_MANAGER_SERVICE_CONFIG_FILE_LOCATION.

[server]

host = "localhost"
port = 5672
user = "guest"
password = "pass"

[wrappers]

  [wrappers.firstwrapper]
  name = "firstwrapper"
  
  [wrappers.secondwrapper]
  name = "secondwrapper"

[wrapperoutput]
name = "wrapperoutput"

[jobmanager]
name = "jobmanager"
durable = true

[status]
name = "status"

[storage]
name = "storage"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL