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

     1  system:
     2    max_proc: 4
     3  
     4  components:
     5    tcp_rcv:
     6      module: receiver.tcp
     7      params:
     8        bind_addr: :3110
     9    fanout:
    10      module: link.fanout
    11    tcp_sink_7222:
    12      module: sink.tcp
    13      params:
    14        bind_addr: localhost:7222
    15    tcp_sink_7223:
    16      module: sink.tcp
    17      params:
    18        bind_addr: localhost:7223
    19    tcp_sink_7224:
    20      module: sink.tcp
    21      params:
    22        bind_addr: localhost:7224
    23    tcp_sink_7225:
    24      module: sink.tcp
    25      params:
    26        bind_addr: localhost:7225
    27    tcp_sink_7226:
    28      module: sink.tcp
    29      params:
    30        bind_addr: localhost:7226
    31    tcp_sink_7227:
    32      module: sink.tcp
    33      params:
    34        bind_addr: localhost:7227
    35  
    36  pipeline:
    37    tcp_rcv:
    38      connect: fanout
    39    fanout:
    40      links:
    41        - tcp_sink_7222
    42        - tcp_sink_7223
    43        - tcp_sink_7224
    44        - tcp_sink_7225
    45        - tcp_sink_7226
    46        - tcp_sink_7227