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