Skip to content

[Feature][Core] Support config variable substitution with default value #7535

@Hisoka-X

Description

@Hisoka-X

Search before asking

  • I had searched in the feature and found no similar feature requirement.

Description

We had supported default value with el expression feature in sink-options-placeholders.
eg:
${table_name:default_my_table}

We should support default value with el expression in all config place too. Including env, source, transform, sink.
It's a sub feature of config-variable-substitution. So the el expression with default value will be replaced with user configure value when use shell script with -i.

The flow diagram:
image

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions