Source to Topic Matching
A topic may belong to several sources.
If no restrictions are defined, then all topics will be able to operate on all sources of the compatible type.
At request time, if a requested topic resolves to more than one source you must clarify
which source to operate on by using the sourceType
and/or the sourceName
parameters of the request.
The properties outlined below allow you to restrict which topics can operate on which source.
Topic
Property | Description |
---|---|
restrict-to-sources |
Restrict the topic to a set of sources. |
restrict-from-sources |
Restrict the topic from being used by a set of sources. |
- Both properties are optional and cannot be used at the same time.
- When neither is used, the topic is not restricted in any way and can be used with any source of a compatible type.
Source
Property | Description |
---|---|
topics-to-include |
Restrict the topics which should be included in the source. |
topics-to-exclude |
Specify which topics should be excluded. |
-
Both properties are optional and cannot be used at the same time.
-
When neither is used, the source will include topics that are of a compatible type and are not restricted from that source, nor restricted to another one.