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: connectors/mssql/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# redis-connect-sqlserver
2
2
3
-
redis-connect-sqlserver is a Redis Connect connector for capturing changes (INSERT, UPDATE and DELETE) from MS SQL Server (source) and writing them to a Redis Enterprise database (Target). redis-connect-sqlserver implementation is based on [Debezium](https://debezium.io/documentation/reference/stable/connectors/sqlserver.html), which is an open source distributed platform for change data capture.
3
+
redis-connect-sqlserver is a Redis Connect connector for capturing changes (INSERT, UPDATE and DELETE) from MS SQL Server (source) and writing them to a Redis Enterprise database (Target). redis-connect-sqlserver cdc connector implementation is based on [Debezium](https://debezium.io/documentation/reference/stable/connectors/sqlserver.html), which is an open source distributed platform for change data capture.
4
4
5
5
<p>
6
6
The first time redis-connect-sqlserver connects to a SQL Server database/cluster, it reads a consistent snapshot of all of the schemas.
@@ -158,12 +158,16 @@ start: start Redis Connect instance with provided cdc or initial loader job conf
158
158
-------------------------------
159
159
160
160
### Initial Loader Steps
161
-
<details><summary><b>INSERT few records into SQL Server table (source)</b></summary>
161
+
<details><summary><b>INSERT few records into SQL Server table (source) using the insert.sql or create a more realistic load using https://github.com/redis-field-engineering/redis-connect-crud-loader</b></summary>
Starting Redis Connect redis-connect-sqlserver v0.7.0.133 instance using Java 11.0.13 on virag-cdc started by root in /opt/redislabs/redis-connect-sqlserver/bin
262
+
Loading Redis Connect redis-connect-sqlserver Configurations from /opt/redislabs/redis-connect-sqlserver/config/samples/loader
263
+
23:11:11,963 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [/opt/redislabs/redis-connect-sqlserver/config/logback.xml] at [file:/opt/redislabs/redis-connect-sqlserver/config/logback.xml]
264
+
....
265
+
....
266
+
23:15:11.429 [main] INFO startup -
267
+
23:15:11.432 [main] INFO startup - /$$$$$$$ /$$ /$$ /$$$$$$ /$$
268
+
23:15:11.433 [main] INFO startup - |$$__ $$|$$|__/ /$$__ $$|$$
23:15:17.834 [main] INFO startup - Instance: 29@virag-cdc successfully established Redis connection for JobManager service
285
+
23:15:17.939 [main] INFO startup - Instance: 29@virag-cdc successfully established PUB/SUB Redis connection
286
+
23:15:17.959 [main] INFO startup - Instance: 29@virag-cdc successfully established PUB/SUB Redis connection
287
+
23:15:17.967 [main] INFO startup - Instance: 29@virag-cdc successfully started JobManager service
288
+
23:15:17.985 [main] INFO startup - Instance: 29@virag-cdc successfully established Redis connection for JobReaper service
289
+
23:15:17.985 [main] INFO startup - Instance: 29@virag-cdc successfully started JobReaper service
290
+
23:15:18.003 [main] INFO startup - Instance: 29@virag-cdc successfully established Redis connection for JobClaimer service
291
+
23:15:18.003 [main] INFO startup - Instance: 29@virag-cdc successfully started JobClaimer service
292
+
23:15:18.008 [main] INFO startup - Instance: 29@virag-cdc successfully subscribed to Channel: REDIS.CONNECT.JOB.CLAIM.TRANSITION.EVENTS
293
+
23:15:18.008 [main] INFO startup - Instance: 29@virag-cdc did not enable embedded REST API server
294
+
23:15:27.995 [JobManager-1] INFO startup - Instance: 29@virag-cdc successfully established Redis connection for HeartbeatManager service
295
+
23:15:27.997 [JobManager-1] INFO startup - Instance: 29@virag-cdc was successfully elected Redis Connect cluster leader
296
+
23:15:38.385 [JobManager-1] INFO startup - Instance: 29@virag-cdc successfully started job execution for JobId: {connect}:job:initial_load
297
+
23:15:38.386 [JobManager-1] INFO startup - Instance: 29@virag-cdc has successfully claimed ownership of JobId: {connect}:job:initial_load
298
+
23:15:38.386 [JobManager-1] INFO startup - Instance: 29@virag-cdc has claimed 1 job(s) from its 2 max allowable capacity
299
+
23:15:38.398 [JobManager-1] INFO startup - JobId: {connect}:job:initial_load claim request with ID: 1635808503423-0 has been fully processed and all metadata has been updated
Staging Redis Connect redis-connect-sqlserver v0.7.0.133 job using Java 11.0.13 on virag-cdc started by root in /opt/redislabs/redis-connect-sqlserver/bin
346
+
Loading Redis Connect redis-connect-sqlserver Configurations from /opt/redislabs/redis-connect-sqlserver/config/samples/sqlserver
347
+
00:43:35,730 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [/opt/redislabs/redis-connect-sqlserver/config/logback.xml] at [file:/opt/redislabs/redis-connect-sqlserver/config/logback.xml]
348
+
....
349
+
....
350
+
00:43:35.997 [main] INFO startup - ##################################################################
351
+
00:43:35.999 [main] INFO startup -
352
+
00:43:35.999 [main] INFO startup - REDIS CONNECT SETUP CLEAN - Deletes metadata related to Redis Connect from Job Management Database
353
+
354
+
00:43:35.999 [main] INFO startup -
355
+
00:43:35.999 [main] INFO startup - ##################################################################
356
+
00:43:36.750 [main] INFO startup - Instance: 31@virag-cdc will attempt to delete (clean) all the metadata related to Redis Connect
357
+
00:43:37.545 [main] INFO startup - Instance: 31@virag-cdc successfully established Redis connection for INIT service
358
+
00:43:37.561 [main] INFO startup - Instance: 31@virag-cdc successfully completed flush (clean) of all the metadata related to Redis Connect
359
+
....
360
+
....
361
+
00:43:38.363 [main] INFO startup - ##################################################################
362
+
00:43:38.364 [main] INFO startup -
363
+
00:43:38.365 [main] INFO startup - REDIS CONNECT SETUP CREATE - Seed metadata related to Redis Connect to Job Management Database
364
+
00:43:38.365 [main] INFO startup -
365
+
00:43:38.365 [main] INFO startup - ##################################################################
366
+
00:43:39.093 [main] INFO startup - Instance: 104@virag-cdc will attempt Job Management Database (Redis) with all the configurations and scripts, if applicable, needed to execute jobs
367
+
00:43:39.860 [main] INFO startup - Instance: 104@virag-cdc successfully established Redis connection for INIT service
368
+
00:43:39.862 [main] INFO startup - Instance: 104@virag-cdc successfully created Job Claim Assignment Stream and Consumer Group
369
+
00:43:39.878 [main] INFO startup - Instance: 104@virag-cdc successfully seeded Job related metadata
Starting Redis Connect redis-connect-sqlserver v0.7.0.133 instance using Java 11.0.13 on virag-cdc started by root in /opt/redislabs/redis-connect-sqlserver/bin
406
+
Loading Redis Connect redis-connect-sqlserver Configurations from /opt/redislabs/redis-connect-sqlserver/config/samples/sqlserver
407
+
00:44:43,241 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [/opt/redislabs/redis-connect-sqlserver/config/logback.xml] at [file:/opt/redislabs/redis-connect-sqlserver/config/logback.xml]
408
+
....
409
+
....
410
+
00:44:43.551 [main] INFO startup -
411
+
00:44:43.554 [main] INFO startup - /$$$$$$$ /$$ /$$ /$$$$$$ /$$
412
+
00:44:43.554 [main] INFO startup - |$$__ $$|$$|__/ /$$__ $$|$$
00:44:49.991 [main] INFO startup - Instance: 30@virag-cdc successfully established Redis connection for JobManager service
429
+
00:44:50.101 [main] INFO startup - Instance: 30@virag-cdc successfully established PUB/SUB Redis connection
430
+
00:44:50.119 [main] INFO startup - Instance: 30@virag-cdc successfully established PUB/SUB Redis connection
431
+
00:44:50.127 [main] INFO startup - Instance: 30@virag-cdc successfully started JobManager service
432
+
00:44:50.145 [main] INFO startup - Instance: 30@virag-cdc successfully established Redis connection for JobReaper service
433
+
00:44:50.146 [main] INFO startup - Instance: 30@virag-cdc successfully started JobReaper service
434
+
00:44:50.165 [main] INFO startup - Instance: 30@virag-cdc successfully established Redis connection for JobClaimer service
435
+
00:44:50.165 [main] INFO startup - Instance: 30@virag-cdc successfully started JobClaimer service
436
+
00:44:50.170 [main] INFO startup - Instance: 30@virag-cdc successfully subscribed to Channel: REDIS.CONNECT.JOB.CLAIM.TRANSITION.EVENTS
437
+
00:44:50.170 [main] INFO startup - Instance: 30@virag-cdc did not enable embedded REST API server
438
+
00:45:00.155 [JobManager-1] INFO startup - Instance: 30@virag-cdc successfully established Redis connection for HeartbeatManager service
439
+
00:45:00.156 [JobManager-1] INFO startup - Instance: 30@virag-cdc was successfully elected Redis Connect cluster leader
440
+
00:45:10.234 [JobManager-1] INFO startup - Getting instance of EventHandler for : REDIS_HASH_WRITER
441
+
00:45:10.267 [JobManager-1] INFO startup - Instance: 30@virag-cdc successfully established Redis connection for RedisConnectorEventHandler service
442
+
00:45:10.271 [JobManager-1] INFO startup - Getting instance of EventHandler for : REDIS_HASH_CHECKPOINT_WRITER
443
+
00:45:10.271 [JobManager-1] WARN startup - metricsKey not set - Metrics collection will be disabled
444
+
00:45:10.291 [JobManager-1] INFO startup - Instance: 30@virag-cdc successfully established Redis connection for RedisCheckpointReader service
445
+
00:45:10.305 [JobManager-1] INFO redisconnect - Reading Mapper Config from : /opt/redislabs/redis-connect-sqlserver/config/samples/sqlserver/mappers
446
+
00:45:10.320 [JobManager-1] INFO redisconnect - Loaded Config for : dbo.emp
447
+
....
448
+
....
339
449
```
340
450
341
451
</p>
342
452
</details>
343
453
344
-
<details><summary><b>INSERT a record into SQL Server table (source)</b></summary>
454
+
<details><summary><b>INSERT a record into SQL Server table (source) using the command line or provided script, insert_mssql.sh in the demo directory</b></summary>
Similarly `UPDATE` and `DELETE` records on SQL Server source and see Redis target getting updated in near real-time.
480
+
Similarly `UPDATE` and `DELETE` records on SQL Server sourceusing queries on the command line or provided scripts [update_mssql.sh](update_mssql.sh) and [delete_mssql.sh](delete_mssql.sh) and see Redis target getting updated in near real-time.
Copy file name to clipboardExpand all lines: connectors/mssql/demo/config/samples/loader/TaskCreator.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ producerConfig:
4
4
producerId: RDB_TASK_CREATOR # internal id
5
5
connectionId: RDBConnection # source connectionId same as env.yml
6
6
jobs:
7
-
- table: public.emp # schema.table
7
+
- table: dbo.emp # schema.table
8
8
numJobs: 5
9
9
config: JobConfig.yml
10
-
loadQuery: "select * from (select Row_Number() over (order by (select 0)) as RowIndex, * from public.emp) as emps Where emps.RowIndex >= ${start} and emps.RowIndex <= ${end}"
10
+
loadQuery: "select * from (select Row_Number() over (order by (select 0)) as RowIndex, * from dbo.emp) as emps Where emps.RowIndex >= ${start} and emps.RowIndex <= ${end}"
Copy file name to clipboardExpand all lines: connectors/postgres/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# redis-connect-postgres
2
2
3
-
redis-connect-postgres is a Redis Connect connector for capturing changes (INSERT, UPDATE and DELETE) from PostgreSQL (source) and writing them to a Redis Enterprise database (Target). redis-connect-postgres implementation is based on [Debezium](https://debezium.io/documentation/reference/stable/connectors/postgresql.html), which is an open source distributed platform for change data capture.
3
+
redis-connect-postgres is a Redis Connect connector for capturing changes (INSERT, UPDATE and DELETE) from PostgreSQL (source) and writing them to a Redis Enterprise database (Target). redis-connect-postgres cdc connector implementation is based on [Debezium](https://debezium.io/documentation/reference/stable/connectors/postgresql.html), which is an open source distributed platform for change data capture.
4
4
5
5
<p>
6
6
The first time redis-connect-postgres connects to a PostgreSQL database, it reads a consistent snapshot of all of the schemas.
0 commit comments