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

     1  system:
     2    maxprocs: 4
     3  
     4  components:
     5    unix_rcv:
     6      module: receiver.unix
     7      params:
     8        bind_addr: /tmp/flowd.sock
     9        backend: evio
    10    throttler:
    11      module: link.throttler
    12      params:
    13        rps: 10000
    14    tcp_sink:
    15      module: sink.tcp
    16      params:
    17        bind_addr: :7222
    18  
    19  pipeline:
    20    unix_rcv:
    21      connect: throttler
    22    throttler:
    23      connect: tcp_sink