Source to Topic Matching
A topic can belong to several sources. Each source must match the type of the topics which belong to it. For example, “CSV” or “JDBC”. This matching is configured via the properties described here.
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.
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.