Skip to content

disintegrator/benthos-cue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using CUE and Benthos

This repository showcases how to manage multiple Benthos configs by using CUE to ensure each config is valid and then by using CUE "commands" to export them to YAML files.

Before you begin

Ensure you have CUE and Benthos installed and available on your PATH.

Usage

To get the right Benthos schema for the version you have installed, run:

cue cmd generateBenthosSchema

You can edit the config files under pipelines/ and when you're ready run:

cue cmd exportAll

If you want to add more benthos configs, then add an entry for each config in tasks/export_tool.cue under command.exportAll.targets.

Try messing with Benthos configs in a way that will trip CUE's type system. When running cue cmd exportAll, you should see appropriate error messages.

About

A workspace for creating Benthos configs using CUE.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages