You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/user-guide/configure_olr.md
+55-1Lines changed: 55 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Refer to this [external guide](https://highgo.atlassian.net/wiki/external/OTUzY2
23
23
24
24
SynchDB's OLR support is built against the configuration example below.
25
25
26
-
26
+
**Version 1.3.0**
27
27
```json
28
28
{
29
29
"version": "1.3.0",
@@ -75,6 +75,59 @@ SynchDB's OLR support is built against the configuration example below.
75
75
76
76
```
77
77
78
+
**Version 1.8.5**
79
+
```json
80
+
{
81
+
"version": "1.8.5",
82
+
"source": [
83
+
{
84
+
"alias": "SOURCE",
85
+
"name": "ORACLE",
86
+
"reader": {
87
+
"type": "online",
88
+
"user": "DBZUSER",
89
+
"password": "dbz",
90
+
"server": "//ora19c:1521/FREE"
91
+
},
92
+
"format": {
93
+
"type": "json",
94
+
"column": 2,
95
+
"db": 3,
96
+
"interval-dts": 9,
97
+
"interval-ytm": 4,
98
+
"message": 2,
99
+
"rid": 1,
100
+
"schema": 7,
101
+
"timestamp-all": 1,
102
+
"scn-type": 1
103
+
},
104
+
"memory": {
105
+
"min-mb": 64,
106
+
"max-mb": 1024,
107
+
"swap-path": "/opt/OpenLogReplicator/olrswap"
108
+
},
109
+
"filter": {
110
+
"table": [
111
+
{"owner": "DBZUSER", "table": ".*"}
112
+
]
113
+
},
114
+
"flags": 32
115
+
}
116
+
],
117
+
"target": [
118
+
{
119
+
"alias": "DEBEZIUM",
120
+
"source": "SOURCE",
121
+
"writer": {
122
+
"type": "network",
123
+
"uri": "0.0.0.0:7070"
124
+
}
125
+
}
126
+
]
127
+
}
128
+
129
+
```
130
+
78
131
Please note the following:
79
132
80
133
- "source"."name": "ORACLE" -> this should match the `olr_source` value when defining OLR parameters via `synchdb_add_olr_conninfo()` (See below)
@@ -83,6 +136,7 @@ Please note the following:
83
136
- "source"."reader"."server" -> this should contain the values of `hostname`, `port` and `source database` values when creating a connector via `synchdb_add_conninfo()`
84
137
- "source"."filter"."table":[] -> this filters the change events that Openlog Replicator captures. <<<**IMPORTANT**>>>: This is currently the only way to filter change events from Oracle as OLR implementations in SynchDB does not do any filtering at this moment. (The `table` and `snapshot table` values are ignored when creating a connector via `synchdb_add_conninfo()`)
85
138
- "format":{} -> the specific paylod format ingested by Debezium based or native Openlog Replicator connector. Use these values as specified.
139
+
- "memory"."swap-path" -> this tells OLR where to write swap files in low memory scenario.
86
140
- "target".[0]."writer"."type": -> this must specify `network` as both Debezium and native Openlog Replicator connector communicate with Openlog Replicator via network
87
141
- "target".[0]."writer"."uri": -> this is the bind host and port Openlog Replicator listens on that SynchDB should be able to access via `olr_host` and `olr_port` when defining OLR parameters via `synchdb_add_olr_conninfo()`.
0 commit comments