Skip to main content

Configuration properties

Properties for a CSV Loading Topic are defined by name in the dlc.csv.topics namespace, and are picked up as configurations for the DLC.

YAML example

This configuration does not specify a target for the data or the data format.
If the topic is not named the same as the store, the target must be explicitly specified in the channel of the topic.
  • The target is implicitly the Atoti table named “Trades”.
  • The format (column order and how input fields are parsed) implicitly comes from the columns and types of the targeted Atoti table, in this case “Trades”.

JSON example

CSV Topics can also be provided as an override in a DLC LOAD request.

Java configuration

CsvTopicDescription Spring Beans are picked up as configurations for the DLC.

Java example

This configuration does not specify a target for the data or the data format.
If the topic is not named the same as the store, the target must be explicitly specified in the channel of the topic.
  • The target is implicitly the Atoti table named “Trades”.
  • The format (column order and how input fields are parsed) implicitly comes from the columns and types of the targeted Atoti table, in this case “Trades”.

Implicit CSV loading topics

Implicit CSV loading topics allow specific files to be loaded into a datastore table without configuring a topic. By default, implicit topics are enabled. They can be disabled by setting the dlc.csv.implicit-load-topics-enabled property to false. When using implicit CSV loading topics:
  • The topic name must match the name of an existing datastore table.
  • The files to load must be specified via the files scope key.
Example