Skip to main content
DLC provides a default TupleSourceDescription with the name defaultTupleSourceDesc. The only reason to make a new TupleSourceDescription is to organize topics logically.

Configuration properties

Properties for a Tuple Source are defined by name in the dlc.tuple.sources namespace, and are picked up as configurations for the DLC.
KeyRequiredTypeDescription
topics-to-includeSet<String>Topics to include. See source to topic matching.
topics-to-excludeSet<String>Topics to exclude. See source to topic matching.

YAML example

dlc:
  tuple:
    sources:
      tupleSource:
        topics-to-include:
          - topic

Java configuration

TupleSourceDescription Spring Beans are picked up as configurations for the DLC.
ParameterRequiredTypeDescription
nameYStringName of the source.
topicsToIncludeSet<String>Topics to include. See source to topic matching.
topicsToExcludeSet<String>Topics to exclude. See source to topic matching.

Java example

@Bean
TupleSourceDescription source() {
    return TupleSourceDescription.builder("tupleSource")
            .topicsToInclude(Set.of("topic"))
            .build();
}