github.com/rohankumardubey/aresdb@v0.0.2-0.20190517170215-e54e3ca06b9c/subscriber/config/test-kafka.yaml (about)

     1  graphite:
     2    address: "localhost:4756"
     3  
     4  ares:
     5    # A list of namespaces. Each namespace includes a list of ares clusters
     6    namespaces:
     7      dev01:
     8        - dev-ares01
     9  
    10    # A list of ares clusters. Each cluster includes master node address and timeout in seconds.
    11    clusters:
    12      clusters:
    13        dev-ares01:
    14          kafkaProducer:
    15            brokers: "kafka11:9000,kafka12:9000"
    16            retryMax: 5
    17            timeoutInSec: 5
    18        dev-ares02:
    19          kafkaProducer:
    20            address: "kafka21:9000,kafka22:9000"
    21            retryMax: 5
    22            timeoutInSec: 5
    23  
    24  # A list of jobs which are defined in config/jobs
    25  jobs:
    26    # A list of namespaces. Each namespace includes a list of jobs.
    27    namespaces:
    28      job-test:
    29        - test1
    30      trips:
    31        - job1
    32  
    33  controller:
    34    # enable sync up with aresDB controller
    35    enable: false
    36    address: "localhost:5436"
    37    refreshInterval: 10
    38    serviceName: "ares-controller-staging"
    39  
    40  zookeeper:
    41    server: "localhost:2181"
    42  
    43  etcd:
    44    # KV environment, zone, and service from which to write/read KV data (placement
    45    # and configuration). Leave these as the default values unless you know what
    46    # you're doing.
    47    env: test
    48    zone: local
    49    service: ares-subscriber
    50    # Directory to store cached etcd data in.
    51    cacheDir: /var/lib/areskv
    52    # Configuration to identify the etcd hosts this node should connect to.
    53    etcdClusters:
    54      - zone: local
    55        endpoints:
    56          - 127.0.0.1:2379
    57  
    58  heartbeat:
    59    enabled: true
    60    # heartbeatTimeout in second
    61    timeout: 30
    62    # checkInterval in second
    63    checkInterval: 2
    64    # heartbeatInterval in second
    65    interval: 10