github.com/whiteboxio/flow@v0.0.3-0.20190918184116-508d75d68a2c/examples/udp2fanout-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.udp
    10      params:
    11        bind_addr: localhost:3101
    12    fanout:
    13      module: link.fanout
    14    tcp_sink_7222:
    15      module: sink.tcp
    16      params:
    17        bind_addr: localhost:7222
    18    tcp_sink_7223:
    19      module: sink.tcp
    20      params:
    21        bind_addr: localhost:7223
    22    tcp_sink_7224:
    23      module: sink.tcp
    24      params:
    25        bind_addr: localhost:7224
    26    tcp_sink_7225:
    27      module: sink.tcp
    28      params:
    29        bind_addr: localhost:7225
    30    tcp_sink_7226:
    31      module: sink.tcp
    32      params:
    33        bind_addr: localhost:7226
    34    tcp_sink_7227:
    35      module: sink.tcp
    36      params:
    37        bind_addr: localhost:7227
    38  
    39  pipeline:
    40    udp_rcv:
    41      connect: fanout
    42    fanout:
    43      links:
    44        - tcp_sink_7222
    45        - tcp_sink_7223
    46        - tcp_sink_7224
    47        - tcp_sink_7225
    48        - tcp_sink_7226
    49        - tcp_sink_7227