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

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