Skip to content

Commit

Permalink
Update templating.adoc (#3040)
Browse files Browse the repository at this point in the history
* Update templating.adoc

remove -c option from connect run since it is no longer supported

Signed-off-by: Mihai Todor <[email protected]>

---------

Signed-off-by: Mihai Todor <[email protected]>
Co-authored-by: Mihai Todor <[email protected]>
  • Loading branch information
peczenyj and mihaitodor authored Nov 27, 2024
1 parent 91424e3 commit 4faad33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/tools/docs_gen/templates/templates.adoc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ A template is defined in a YAML file that can be imported when {page-component-t

[source,bash]
----
rpk connect run -t "./templates/*.yaml" -c ./config.yaml
rpk connect run -t "./templates/*.yaml" ./config.yaml
----

The template describes the type of the component and configuration fields that can be used to customize it, followed by a xref:guides:bloblang/about.adoc[Bloblang mapping] that translates an object containing those fields into a Redpanda Connect config structure. This allows you to use logic to generate more complex configurations:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/configuration/pages/templating.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ A template is defined in a YAML file that can be imported when {page-component-t
[source,bash]
----
rpk connect run -t "./templates/*.yaml" -c ./config.yaml
rpk connect run -t "./templates/*.yaml" ./config.yaml
----
The template describes the type of the component and configuration fields that can be used to customize it, followed by a xref:guides:bloblang/about.adoc[Bloblang mapping] that translates an object containing those fields into a Redpanda Connect config structure. This allows you to use logic to generate more complex configurations:
Expand Down

0 comments on commit 4faad33

Please sign in to comment.