Author: Adam Leszczyński <aleszczynski@bersler.com>, version: 1.9.0, date: 2026-01-31 |
This section describes the JSON configuration file used by OpenLogReplicator.
The configuration is a single JSON object that contains top-level elements such as source, target and global options.
Files matching the documented schema ensure predictable behavior across upgrades.
The configuration file must contain a single JSON object with the parameters documented below.
Use the version field to verify compatibility when upgrading the application.
| Parameter | Type / constraints | Description and notes |
|---|---|---|
|
list of source elements, mandatory |
One or more source entries describing where redo logs come from.
Typical deployments use a single |
|
list of target elements, mandatory |
One or more target entries describing sinks / outputs.
Typical deployments use a single |
|
string, max length: 256, mandatory |
Exact configuration schema version.
Current required value: TIP: Use the |
|
string, max length: 256, default: |
Directory where NOTE: Path may be relative to the process working directory. Ensure the process user can write to this location. |
|
integer, min: 0, max: 1, default: 0 |
When enabled, prints a HEX dump of vector data in
NOTE: Only applicable when |
|
integer, min: 0, max: 2, default: 0 |
Create human-readable dumps of processed redo logs.
CAUTION: Dumps are intended for debugging and may not exactly match the external |
|
integer, min: 0, max: 4, default: 2 |
Verbosity of messages written to
|
|
element of memory |
Configuration of memory settings. |
|
element of metrics |
Group of options used for collecting metrics of OpenLogReplicator. |
|
element of state |
Configuration of state settings to store checkpoint information. |
|
integer, min: 0, max: 1048575, default: 0 |
Bitmask selecting detailed trace output. See source code for available trace flags. CAUTION: Trace codes and bit assignments may change between releases. |
|
Note
|
|
{
"version": "1.9.0",
"source": [
{
"alias": "SOURCE",
"name": "DBNAME",
"reader": {
"type": "online",
"user": "user1",
"password": "Password1",
"server": "//host:1521/SERVICE"
},
"format": {
"type": "json"
},
"filter": {
"table": [
{"owner": "OWNER1", "table": "TABLENAME1", "key": "COL1,COL2,COL3"},
{"owner": "OWNER1", "table": "TABLENAME2"},
{"owner": "OWNER2", "table": "TAB.*"}
]
}
}
],
"target": [
{
"alias": "KAFKA",
"source": "SOURCE",
"writer": {
"type": "kafka",
"topic": "TOPIC",
"properties": {
"bootstrap.servers": "localhost:9092"
}
}
}
]
}