github.com/whiteboxio/flow@v0.0.3-0.20190918184116-508d75d68a2c/examples/routing-config.yml (about)

     1  system:
     2    maxprocs: 2
     3    admin:
     4      enabled: true
     5      bind_addr: :8080
     6  
     7  components:
     8    http_rcv:
     9      module: receiver.http
    10      params:
    11        bind_addr: :7071
    12    router:
    13      module: link.router 
    14      params:
    15        routing_key: dest
    16    sink_a:
    17      module: sink.dumper
    18      params:
    19        out: a.out
    20    sink_b:
    21      module: sink.dumper
    22      params:
    23        out: b.out
    24  
    25  pipeline:
    26    http_rcv:
    27      connect: router
    28    router:
    29      routes:
    30        a: sink_a
    31        b: sink_b