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
@@ -55,9 +54,6 @@ All connectors support secret references for the following fields:
55
54
- `connectionStringSecretRef`- connection string
56
55
- `tableSecretRef`- table name
57
56
58
-
#### postgresFull
59
-
- `connectionStringSecretRef`- connection string (source and sink)
60
-
61
57
#### ClickHouse
62
58
- `connectionStringSecretRef`- connection string
63
59
- `tableSecretRef`- table name
@@ -448,66 +444,6 @@ sink:
448
444
- **UPSERT Mode**: Updates existing records on conflict (PRIMARY KEY or `conflictKey`)
449
445
- **Soft Delete**: When `softDeleteColumn` is set and message has `metadata.operation=delete`, performs `UPDATE ... SET deleted_at = NOW()` instead of physical DELETE
450
446
451
-
## postgresFull
452
-
453
-
The postgresFull connector performs **full database synchronization** from a source PostgreSQL to a target PostgreSQL. It replicates schema (tables, views, materialized views, indexes, sequences, triggers, functions) and optionally data.
| dropTarget | Drop objects on target before applying (use with caution) |
503
-
504
-
### Requirements
505
-
506
-
- PostgreSQL 12+ on source and target
507
-
- Source: SELECT on pg_catalog, USAGE on schemas, SELECT on tables
508
-
- Target: CREATE, INSERT, and DDL privileges
509
-
- For data sync with FK: uses `session_replication_role = replica` during insert
510
-
511
447
## ClickHouse
512
448
513
449
The ClickHouse connector supports reading from and writing to ClickHouse tables. It supports polling for incremental reads, custom SQL queries, batch inserts, and auto-creation of MergeTree tables.
@@ -909,7 +845,9 @@ For configuration, error message structure, and error types, see [Error Handling
909
845
910
846
### Spec-level settings
911
847
912
-
- **channelBufferSize** (default 100): Buffer size for message channels between source, processor, and sink. For high Kafka throughput (tens of thousands msg/s), increase to 500–1000 to reduce blocking when the sink is slower than the source.
848
+
#### channelBufferSize
849
+
850
+
Buffer size for message channels between source, processor, and sink (default 100). For high Kafka throughput (tens of thousands msg/s), increase to 500–1000 to reduce blocking when the sink is slower than the source.
**Важно:** Для работы UPSERT таблица должна иметь PRIMARY KEY или UNIQUE constraint на указанном `conflictKey`.
365
364
366
-
## postgresFull
367
-
368
-
Коннектор postgresFull выполняет **полную синхронизацию базы данных** из PostgreSQL-источника в PostgreSQL-приёмник. Реплицирует схему (таблицы, представления, материализованные представления, индексы, последовательности, триггеры, функции) и опционально данные.
| syncUsers | Синхронизировать роли (CREATE ROLE, без паролей) |
410
-
| syncGrants | Синхронизировать права (GRANT на объекты) |
411
-
412
-
### Опции приёмника
413
-
414
-
| Опция | Описание |
415
-
|-------|----------|
416
-
| connectionString | Строка подключения к целевой PostgreSQL |
417
-
| dropTarget | Удалить объекты на target перед применением (осторожно) |
418
-
419
-
### Требования
420
-
421
-
- PostgreSQL 12+ на source и target
422
-
- Source: SELECT на pg_catalog, USAGE на схемах, SELECT на таблицах
423
-
- Target: CREATE, INSERT и права на DDL
424
-
- Для синхронизации данных с FK: используется `session_replication_role = replica` при вставке
425
-
426
365
## ClickHouse
427
366
428
367
ClickHouse коннектор поддерживает чтение из таблиц и запись в таблицы ClickHouse. Поддерживает периодический опрос для инкрементального чтения, кастомные SQL запросы, батч-вставки и автосоздание MergeTree таблиц.
- **channelBufferSize** (по умолчанию 100): размер буфера каналов между source, processor и sink. При высокой нагрузке Kafka (десятки тысяч msg/s) увеличьте до 500–1000, чтобы снизить блокировки, когда sink медленнее source.
1234
+
#### channelBufferSize
1235
+
1236
+
Размер буфера каналов между source, processor и sink (по умолчанию 100). При высокой нагрузке Kafka (десятки тысяч msg/s) увеличьте до 500–1000, чтобы снизить блокировки, когда sink медленнее source.
0 commit comments