Replies: 1 comment
-
Just created my first template. The learning curve was steep, especially if one is new to benthos. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, similar to the Plugins V2 API there's some new experimental functionality called config templates that is ready to try. It's going to allow you to define parameterised templates for Benthos configuration snippets that can be imported with a cli flag and used like native Benthos components.
This is super useful in situations where you have commonly used configuration patterns but with small differences that prevent you from using the exact same config as a resource.
The current state of templates is that they'll be included in the next release as an experimental feature, meaning any aspect of this functionality is subject to change outside of major version releases. This includes the config spec of templates, how they work, and so on.
You can see some examples of what they look like in this directory: https://github.com/Jeffail/benthos/tree/master/template, and the (work in progress) documentation can be found at: https://github.com/Jeffail/benthos/blob/master/website/docs/configuration/templating.md
Beta Was this translation helpful? Give feedback.
All reactions