Generators StringValueGenerator

Generators StringValueGenerator

Certified

Generate strings from templates

Renders the value string (Pebble) and then evaluates Datafaker expressions like #{name.firstName} for each record. Locale list overrides Faker locale; empty list uses the library default.

yaml
type: io.kestra.plugin.datagen.generators.StringValueGenerator
Installation

Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:

kestractl plugins get io.kestra.plugin:plugin-datagen --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

For Kestra CLI, replace LATEST with a specific version or version range to pin the plugin version.

Properties

String template

String rendered per record; supports Pebble variables and Datafaker expressions starting with #{

SubTypestring

Locales

Optional locale list in the format [language, country, variant]; empty list uses Faker's default locale.