Navigation :
test ../../../ test data-connectors-overview.html
Atoti Data Connectors Overview
test ../../../ test data-connectors-overview/tracing.html
- Tracing
test ../../../ test changelog.html
Release and migration notes
test ../../../ test dee-overview.html
Data Extraction Engine
test ../../../ test dlc-overview.html
Data Load Controller
test ../../../ test dlc-overview/getting-started.html
- Getting Started
test ../../../ test dlc-overview/operations.html
-
Operations
test ../../../ test dlc-overview/request-api.html
-
Request API
test ../../../ test dlc-overview/configuration.html
-
Configuration
test ../../../ test dlc-overview/configuration/avro.html
--
Avro
test ../../../ test dlc-overview/configuration/csv.html
--
CSV
test ../../../ test dlc-overview/configuration/jdbc.html
--
JDBC
test ../../../ test dlc-overview/configuration/parquet.html
--
Parquet
test ../../../ test dlc-overview/configuration/tuple.html
--
Tuple
test ../../../ test dlc-overview/configuration/tuple/tuple-source.html
--- Tuple Source
test ../../../ test dlc-overview/configuration/tuple/tuple-topic.html
--- Tuple Loading Topic
test ../../../ test dlc-overview/configuration/messaging.html
--
Messaging
test ../../../ test dlc-overview/configuration/aliases.html
-- Aliases
test ../../../ test dlc-overview/configuration/channel.html
-- Channel
test ../../../ test dlc-overview/configuration/custom-field.html
-- Custom Field
test ../../../ test dlc-overview/configuration/parser-overrides.html
-- Parser Overrides
test ../../../ test dlc-overview/configuration/target.html
-- Target
test ../../../ test dlc-overview/configuration/unload-topic.html
-- Unload Topic
test ../../../ test dlc-overview/components.html
-
Components
test ../../../ test dlc-overview/functional.html
-
Functional
test ../../../ test dlc-overview/extensions.html
-
Extensions
Tuple Loading Topic
note
Tuple Loading Topics cannot be defined via configuration properties.
Java Configuration
TupleTopicDescription
Spring Beans are picked up as configuration for the DLC.
Parameter
Required
Type
Default
Description
name
Y
String
Name of the topic.
tupleSupplier
Y
Function<DlcScope, Collection<Object[]>>
The tuple supplier.
headers
List<String>
The headers of the tuples provided by supplier.
channels
Set<Channel>
A channel is created using the topic’s name as the name of the target.
Channels
restrictToSources
Set<String>
Sources to which the topic restricted. See source to topic matching .
restrictFromSources
Set<String>
Sources from which the topic is restricted. See source to topic matching .
Java Example
This configuration does not specify a target for the data or the data format.
note
If you do not name your topic the same as your store you will have to explicitly specify the target in the channel of the topic.
The target is implicitly the Atoti table named “Trades”.
The format (column order of the tuples and how input fields are parsed) implicitly comes from the columns and types of the targeted Atoti table, in this case “Trades”.
@Bean
public TupleTopicDescription tupleTopic () {
return TupleTopicDescription. builder ( "trades" , this :: generateTuples)
. build ();
}