Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
disrupted committed Jan 11, 2024
1 parent a5b621b commit 916c239
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions docs/docs/resources/pipeline-defaults/defaults-kafka-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
kafka-app:
# Pipeline prefix that will prefix every component name. If you wish to not
# have any prefix you can specify an empty string.
prefix: ${pipeline_name}-
prefix: ${pipeline.name}-
from: # Must not be null
topics: # read from topic
${pipeline_name}-input-topic:
${pipeline.name}-input-topic:
type: input # Implied when role is NOT specified
${pipeline_name}-extra-topic:
${pipeline.name}-extra-topic:
role: topic-role # Implies `type` to be extra
${pipeline_name}-input-pattern-topic:
${pipeline.name}-input-pattern-topic:
type: pattern # Implied to be an input pattern if `role` is undefined
${pipeline_name}-extra-pattern-topic:
${pipeline.name}-extra-pattern-topic:
type: pattern # Implied to be an extra pattern if `role` is defined
role: some-role
components: # read from specific component
Expand All @@ -30,11 +30,11 @@ kafka-app:
# Topic(s) into which the component will write output
to:
topics:
${pipeline_name}-output-topic:
${pipeline.name}-output-topic:
type: output # Implied when role is NOT specified
${pipeline_name}-extra-topic:
${pipeline.name}-extra-topic:
role: topic-role # Implies `type` to be extra; Will throw an error if `type` is defined
${pipeline_name}-error-topic:
${pipeline.name}-error-topic:
type: error
# Currently KPOps supports Avro and JSON schemas.
key_schema: key-schema # must implement SchemaProvider to use
Expand Down
16 changes: 8 additions & 8 deletions docs/docs/resources/pipeline-defaults/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ helm-app:
kafka-app:
# Pipeline prefix that will prefix every component name. If you wish to not
# have any prefix you can specify an empty string.
prefix: ${pipeline_name}-
prefix: ${pipeline.name}-
from: # Must not be null
topics: # read from topic
${pipeline_name}-input-topic:
${pipeline.name}-input-topic:
type: input # Implied when role is NOT specified
${pipeline_name}-extra-topic:
${pipeline.name}-extra-topic:
role: topic-role # Implies `type` to be extra
${pipeline_name}-input-pattern-topic:
${pipeline.name}-input-pattern-topic:
type: pattern # Implied to be an input pattern if `role` is undefined
${pipeline_name}-extra-pattern-topic:
${pipeline.name}-extra-pattern-topic:
type: pattern # Implied to be an extra pattern if `role` is defined
role: some-role
components: # read from specific component
Expand All @@ -51,11 +51,11 @@ kafka-app:
# Topic(s) into which the component will write output
to:
topics:
${pipeline_name}-output-topic:
${pipeline.name}-output-topic:
type: output # Implied when role is NOT specified
${pipeline_name}-extra-topic:
${pipeline.name}-extra-topic:
role: topic-role # Implies `type` to be extra; Will throw an error if `type` is defined
${pipeline_name}-error-topic:
${pipeline.name}-error-topic:
type: error
# Currently KPOps supports Avro and JSON schemas.
key_schema: key-schema # must implement SchemaProvider to use
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/schema/defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@
"type": "string"
},
"prefix": {
"default": "${pipeline_name}-",
"default": "${pipeline.name}-",
"description": "Pipeline prefix that will prefix every component name. If you wish to not have any prefix you can specify an empty string.",
"title": "Prefix",
"type": "string"
Expand Down

0 comments on commit 916c239

Please sign in to comment.