Resource is an output type that runs a resource output by its name.
# Config fields, showing default valuesoutput:resource: ""
This output allows you to reference the same configured output resource in multiple places, and can also tidy up large nested configs. For example, the config:
output:broker:pattern: fan_outoutputs:- kafka:addresses: [ TODO ]topic: foo- gcp_pubsub:project: bartopic: baz
Could also be expressed as:
output:broker:pattern: fan_outoutputs:- resource: foo- resource: baroutput_resources:- label: fookafka:addresses: [ TODO ]topic: foo- label: bargcp_pubsub:project: bartopic: baz
You can find out more about resources in this document.