resource
component_type_dropdown::[]
Resource is an output type that channels messages to a resource output, identified by its name.
# Config fields, showing default values
output:
resource: ""
yml
Resources allow you to tidy up deeply nested configs. For example, the config:
output:
broker:
pattern: fan_out
outputs:
- kafka:
addresses: [ TODO ]
topic: foo
- gcp_pubsub:
project: bar
topic: baz
yaml
Could also be expressed as:
output:
broker:
pattern: fan_out
outputs:
- resource: foo
- resource: bar
output_resources:
- label: foo
kafka:
addresses: [ TODO ]
topic: foo
- label: bar
gcp_pubsub:
project: bar
topic: baz
yaml
Was this helpful?