Overview
The following request fields control which topics load, into which branch, and with what scope.Request
- Java
- JSON
DlcLoadRequest
| Key | Required | Type | Description |
|---|---|---|---|
| topics | Y | Set<String> | Set of topics or aliases. |
| topicOverrides | Set<ILoadingTopicDescription> | Topic overrides. | |
| scope | IDlcScope | Scope Parameters | |
| branch | String | The branch to operate on. | |
| performGcOnStart | Boolean | Perform a Garbage collection before the datastore transaction. | |
| performGcOnCompletion | Boolean | Perform a Garbage collection after the datastore transaction. | |
| sourceName | String | The source name to operate on. See source to topic matching. | |
| sourceType | DlcSourceType | The source type to operate on. See source to topic matching. |
Example:
Response
- Java
- JSON
DlcLoadResponse
| Key | Type | Description |
|---|---|---|
| report | LoadReport | Report of what occurred during the loading operation. |
| status | DlcStatus | Status of the DLC Operation. |
LoadReport
| Key | Type | Description |
|---|---|---|
| parsingReport | Map<String, Map<String, ITopicParsingReport>> | Per source and per topic parsing report provided by the Atoti API. Will contain fine-grain details. Needs to be enabled either in the Source Configuration or through global property activeviam.msg.reporting.enabled |
| errors | Map<String, List<DlcMessageCollector.OnError>> | Errors that occurred while loading. |
| messagesPublished | Map<String, List<DlcMessageCollector.OnMessagePublished>> | The Atoti message when the records are published to the datastore. |
| messageStarted | Map<String, List<DlcMessageCollector.OnMessageStarted>> | The Atoti message when the records are sent to the Tuple Publisher. |
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. |