subscriber/config/test.yaml (48 lines of code) (raw):
graphite:
address: "localhost:4756"
ares:
# A list of namespaces. Each namespace includes a list of ares clusters
namespaces:
dev01:
- dev-ares01
# A list of ares clusters. Each cluster includes master node address and timeout in seconds.
clusters:
dev-ares01:
aresDB:
address: "ares01:9000"
timeout: 20
dev-ares02:
aresDB:
address: "ares02:9000"
timeout: 20
kafka-staging:
sinkMode: "kafka"
kafkaProducer:
brokers: "kloak-phx2-lossless"
retryMax: 3
timeoutInSec: 10
# A list of jobs which are defined in config/jobs
jobs:
# A list of namespaces. Each namespace includes a list of jobs.
namespaces:
job-test:
- test1
trips:
- job1
controller:
# enable sync up with aresDB controller
enable: false
address: "localhost:5436"
refreshInterval: 10
serviceName: "ares-controller-staging"
zookeeper:
server: "localhost:2181"
etcd:
# KV environment, zone, and service from which to write/read KV data (placement
# and configuration). Leave these as the default values unless you know what
# you're doing.
env: test
zone: local
service: ares-subscriber
# Directory to store cached etcd data in.
cacheDir: /var/lib/areskv
# Configuration to identify the etcd hosts this node should connect to.
etcdClusters:
- zone: local
endpoints:
- 127.0.0.1:2379
heartbeat:
enabled: true
# heartbeatTimeout in second
timeout: 30
# checkInterval in second
checkInterval: 2
# heartbeatInterval in second
interval: 10