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

     1  system:
     2    maxprocs: 4
     3    admin:
     4      enabled: true
     5      bind_addr: "localhost:4101"
     6  
     7  components:
     8    udp_rcv:
     9      module: receiver.unix
    10      params:
    11        bind_addr: /tmp/flowd.sock
    12        backend: evio
    13    fanout:
    14      module: link.fanout
    15    tcp_sink_7222:
    16      module: sink.tcp
    17      params:
    18        bind_addr: localhost:7222
    19    tcp_sink_7223:
    20      module: sink.tcp
    21      params:
    22        bind_addr: localhost:7223
    23    tcp_sink_7224:
    24      module: sink.tcp
    25      params:
    26        bind_addr: localhost:7224
    27    tcp_sink_7225:
    28      module: sink.tcp
    29      params:
    30        bind_addr: localhost:7225
    31    tcp_sink_7226:
    32      module: sink.tcp
    33      params:
    34        bind_addr: localhost:7226
    35    tcp_sink_7227:
    36      module: sink.tcp
    37      params:
    38        bind_addr: localhost:7227
    39  
    40  pipeline:
    41    udp_rcv:
    42      connect: fanout
    43    fanout:
    44      links:
    45        - tcp_sink_7222
    46        - tcp_sink_7223
    47        - tcp_sink_7224
    48        - tcp_sink_7225
    49        - tcp_sink_7226
    50        - tcp_sink_7227