# read-stdin

Read from stdin, splitting input on matcher, and emitting each chunk as an event. Reading is throttled at maxMbps. Will continue to wait for new input unless stopOnEOF is set.

# Config

Optional:

  • encoding: Input encoding (utf8, ascii, base64)
  • matcher: Regular experssion to split on (default: \r?\n)
  • maxMbps: Throttle rate in MB/s (default: 100)
  • stopOnEOF: Shutdown pipeline on EOF (default: true)

# Example

pipeline:
  read-stdin:
    config:
      encoding: utf8
      matcher: "\n"
      maxMbps: 50
      stopOnEOF: false