Updated Architecture (markdown)

master
Martin Polanka 9 years ago
parent 0cb31b6b05
commit b24048a1e8

@ -17,10 +17,14 @@
Worker should have some default configuration which is applied to worker itself or may be used in given jobs (implicitly if something is missing, or explicitly with special variables). This configuration should be hardcoded and can be rewritten by explicitly declared configuration file. Format of this configuration is yaml like in the job config.
```
--- # only one document with all configuration needed
job-collector:
hostname: "localhost"
port: 36587
headers: exact_time&&all
worker-id: 1
broker-uri: tcp://localhost:9657
headers:
env:
- c
- python
threads: 2
hwgroup: "group1"
file-manager:
file-collector:
hostname: "localhost"
@ -34,7 +38,6 @@ logger:
level: "debug" # level of logging - one of "debug", "warn", "emerg"
max-size: 1048576 # 1 MB; max size of file before log rotation
rotations: 3 # number of rotations kept
hwgroup: "group1"
limits:
time: 5 # in secs
wall-time: 6 # seconds

Loading…
Cancel
Save