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/operations/operations-load.html
-- LOAD
test ../../ test dlc-overview/operations/operations-unload.html
-- UNLOAD
test ../../ test dlc-overview/operations/operations-start-listen.html
-- START_LISTEN
test ../../ test dlc-overview/operations/operations-stop-listen.html
-- STOP_LISTEN
test ../../ test dlc-overview/operations/operations-listen-status.html
-- LISTEN_STATUS
test ../../ test dlc-overview/request-api.html
-
Request API
test ../../ test dlc-overview/configuration.html
-
Configuration
test ../../ test dlc-overview/components.html
-
Components
test ../../ test dlc-overview/functional.html
-
Functional
test ../../ test dlc-overview/extensions.html
-
Extensions
UNLOAD
Overview
The UNLOAD
operation performs a single, blocking, unload request in a single datastore transaction. When unloading,
elements are deleted from the datastore. The deleted elements are not recorded.
You may want to perform a Garbage Collection after performing an UNLOAD
operation. This can be done by specifying
the Garbage Collection scope properties in your request.
Request
Java
JSON
DlcUnoadRequest
Key
Required
Type
Description
topics
Y
Set<String>
Set of topics or aliases.
scope
IDlcScope
Scope Parameters
branch
String
The branch you want to unload data from.
performGcOnStart
Boolean
Perform a Garbage collection before the datastore transaction.
performGcOnCompletion
Boolean
Perform a Garbage collection after the datastore transaction.
Example:
DlcUnloadRequest. builder ()
. topics ( "Topic1" , "Topic2" ) // Required
. scope ( DlcScope. of (
"AsOfDate" , "2025-02-14" ,
"performGcOnCompletion" , true
))
. branch ( "BranchToLoadInto" )
. build ();
DlcUnloadRequestDTO
Key
Type
Description
unloadedRecords
Map<String, Long>
Number of records removed from each store.
status
DlcStatus
Overall status of the DLC Operation.
Example:
{
"operation" : "UNLOAD" ,
"topics" : ["Topic1" , "Topic2" ],
"scope" : {
"AsOfDate" : "2025-02-14"
},
"performGcOnCompletion" : true ,
"branch" : "BranchToLoadInto"
}
Response
Java
JSON
DlcUnloadResponse
Key
Type
Description
report
UnloadReport
Report of what occurred during the unload operation.
status
DlcStatus
Overall status of the DLC Operation.
UnloadReport
Key
Type
Description
unloadedRecords
Map<String, Long>
Number of records removed from each store.
DlcStatus
A simple enum to capture if the DLC request was executed.
Key
Description
OK
Request was handled successfully.
ERROR
Request was not able to be performed correctly.
DlcUnloadResponseDTO
Key
Type
Description
unloadedRecordsPerStore
Map<String, Long>
Number of records removed from each store.
status
DlcStatus
Overall status of the DLC Operation.
Example:
{
"unloadedRecordsPerStore" : {
"StoreA" : 12 ,
"StoreB" : 200
},
"status" : "OK"
}