benthosdev / benthos-lab

A web app for writing, executing and sharing Benthos pipeline configurations
https://lab.benthos.dev
MIT License
47 stars 8 forks source link

Simulate inputs and outputs #11

Closed Jeffail closed 5 years ago

Jeffail commented 5 years ago

It'd be great to support testing input and output processing pipelines and broker patterns by compiling input and output sections. We'd need a mechanism for injecting messages via a custom input and the same for extracting resulting messages from a custom output.

We have a very similar requirement outlined in https://github.com/Jeffail/benthos/issues/207 so it makes sense to build components that can be shared.

Jeffail commented 5 years ago

Got the connectors: https://github.com/benthosdev/benthos-lab/commit/ccf8b9779661086dde173d1f1fc07c9ccce4f86f

Jeffail commented 5 years ago

Outputs are done. Still thinking through how best to implement inputs.