resource
Resource is an input type that channels messages from a resource input, identified by its name.
Resources allow you to tidy up deeply nested configs. For example, the config:
Could also be expressed as:
Resources also allow you to reference a single input in multiple places, such as multiple streams mode configs, or multiple entries in a broker input. However, when a resource is referenced more than once the messages it produces are distributed across those references, so each message will only be directed to a single reference, not all of them.
You can find out more about resources in xref:configuration:resources.adoc[].