Skip to content

Commit cdf1d45

Browse files
committed
default-topic-name
1 parent c56f609 commit cdf1d45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

building-applications/instances.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ For example, this instance defines `topicName` as a global parameter with the va
4242
instance:
4343
globals:
4444
topicName: "input-topic"
45-
otherTopicName: "${OTHER_TOPIC_NAME:-other-topic-name}"
45+
otherTopicName: "${OTHER_TOPIC_NAME:-default-topic-name}"
4646
```
4747

48-
The second global `otherTopicName` uses an alternate declaration method where the value is loaded from a dotenv file containing a `OTHER_TOPIC_NAME="value"` line. The `:-` characters allow you to designate a default value - in this case, `other-topic-name`.
48+
The second global `otherTopicName` uses an alternate declaration method where the value is loaded from a dotenv file containing a `OTHER_TOPIC_NAME="value"` line. The `:-` characters allow you to designate a default value - in this case, `default-topic-name`.
4949

5050
The `topicName` parameter can now be referenced wherever you need it, perhaps in your application's pipeline.yaml file:
5151
```yaml

0 commit comments

Comments
 (0)