Yandex Cloud
Поиск
Связаться с намиПопробовать бесплатно
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Истории успеха
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Data Transfer
  • Доступные трансферы
  • Начало работы
  • Решение проблем
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Create
        • Update
        • Delete
        • List
        • Get
        • Deactivate
        • Activate
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • Публичные материалы
  • Обучающие курсы

В этой статье:

  • HTTP request
  • Path parameters
  • Response
  • Endpoint
  • EndpointSettings
  • MysqlSource
  • MysqlConnection
  • OnPremiseMysql
  • TLSMode
  • TLSConfig
  • ConnectionManagerConnection
  • Secret
  • MysqlObjectTransferSettings
  • PostgresSource
  • PostgresConnection
  • OnPremisePostgres
  • PostgresObjectTransferSettings
  • YdbSource
  • YDSSource
  • Parser
  • GenericParserCommon
  • DataSchema
  • FieldList
  • ColSchema
  • KafkaSource
  • KafkaConnectionOptions
  • OnPremiseKafka
  • KafkaAuth
  • KafkaSaslSecurity
  • DataTransformationOptions
  • MongoSource
  • MongoConnection
  • MongoConnectionOptions
  • OnPremiseMongo
  • MongoConnectionManagerConnection
  • MongoCollection
  • ClickhouseSource
  • ClickhouseConnection
  • ClickhouseConnectionOptions
  • OnPremiseClickhouse
  • ClickhouseShard
  • MysqlTarget
  • PostgresTarget
  • ClickhouseTarget
  • AltName
  • ClickhouseSharding
  • ColumnValueHash
  • ColumnValueMapping
  • ValueToShard
  • ColumnValue
  • YdbTarget
  • KafkaTarget
  • KafkaTargetTopicSettings
  • KafkaTargetTopic
  • Serializer
  • SerializerDebezium
  • DebeziumSerializerParameter
  • MongoTarget
  • MetrikaSource
  • MetrikaStream
  • YDSTarget
  • Runtime
  • YcRuntime
  • ShardingUploadParams
  • Transformation
  • Transformer
  • MaskFieldTransformer
  • TablesFilter
  • MaskFunction
  • MaskFunctionHash
  • FilterColumnsTransformer
  • ColumnsFilter
  • RenameTablesTransformer
  • RenameTable
  • Table
  • ReplacePrimaryKeyTransformer
  • ToStringTransformer
  • SharderTransformer
  • TableSplitterTransformer
  • FilterRowsTransformer
  • DataObjects
  1. Справочник API
  2. REST (англ.)
  3. Transfer
  4. Get

Data Transfer API, REST: Transfer.Get

Статья создана
Yandex Cloud
Улучшена
Tania L.
Обновлена 18 февраля 2026 г.
  • HTTP request
  • Path parameters
  • Response
  • Endpoint
  • EndpointSettings
  • MysqlSource
  • MysqlConnection
  • OnPremiseMysql
  • TLSMode
  • TLSConfig
  • ConnectionManagerConnection
  • Secret
  • MysqlObjectTransferSettings
  • PostgresSource
  • PostgresConnection
  • OnPremisePostgres
  • PostgresObjectTransferSettings
  • YdbSource
  • YDSSource
  • Parser
  • GenericParserCommon
  • DataSchema
  • FieldList
  • ColSchema
  • KafkaSource
  • KafkaConnectionOptions
  • OnPremiseKafka
  • KafkaAuth
  • KafkaSaslSecurity
  • DataTransformationOptions
  • MongoSource
  • MongoConnection
  • MongoConnectionOptions
  • OnPremiseMongo
  • MongoConnectionManagerConnection
  • MongoCollection
  • ClickhouseSource
  • ClickhouseConnection
  • ClickhouseConnectionOptions
  • OnPremiseClickhouse
  • ClickhouseShard
  • MysqlTarget
  • PostgresTarget
  • ClickhouseTarget
  • AltName
  • ClickhouseSharding
  • ColumnValueHash
  • ColumnValueMapping
  • ValueToShard
  • ColumnValue
  • YdbTarget
  • KafkaTarget
  • KafkaTargetTopicSettings
  • KafkaTargetTopic
  • Serializer
  • SerializerDebezium
  • DebeziumSerializerParameter
  • MongoTarget
  • MetrikaSource
  • MetrikaStream
  • YDSTarget
  • Runtime
  • YcRuntime
  • ShardingUploadParams
  • Transformation
  • Transformer
  • MaskFieldTransformer
  • TablesFilter
  • MaskFunction
  • MaskFunctionHash
  • FilterColumnsTransformer
  • ColumnsFilter
  • RenameTablesTransformer
  • RenameTable
  • Table
  • ReplacePrimaryKeyTransformer
  • ToStringTransformer
  • SharderTransformer
  • TableSplitterTransformer
  • FilterRowsTransformer
  • DataObjects

Returns the specified transfer.

To get the list of all available transfers, make a List request.

HTTP requestHTTP request

GET https://datatransfer.api.yandexcloud.kz/v1/transfer/{transferId}

Path parametersPath parameters

Field

Description

transferId

string

Required field. Identifier of the transfer to be returned.

To get the list of all available transfers, make a List request.

ResponseResponse

HTTP Code: 200 - OK

{
  "id": "string",
  "folderId": "string",
  "name": "string",
  "description": "string",
  "labels": "object",
  "source": {
    "id": "string",
    "folderId": "string",
    "name": "string",
    "description": "string",
    "labels": "object",
    "settings": {
      // Includes only one of the fields `mysqlSource`, `postgresSource`, `ydbSource`, `ydsSource`, `kafkaSource`, `mongoSource`, `clickhouseSource`, `mysqlTarget`, `postgresTarget`, `clickhouseTarget`, `ydbTarget`, `kafkaTarget`, `mongoTarget`, `metrikaSource`, `ydsTarget`
      "mysqlSource": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "timezone": "string",
        "objectTransferSettings": {
          "view": "string",
          "routine": "string",
          "trigger": "string",
          "tables": "string"
        },
        "includeTablesRegex": [
          "string"
        ],
        "excludeTablesRegex": [
          "string"
        ],
        "securityGroups": [
          "string"
        ],
        "serviceDatabase": "string"
      },
      "postgresSource": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "includeTables": [
          "string"
        ],
        "excludeTables": [
          "string"
        ],
        "slotByteLagLimit": "string",
        "serviceSchema": "string",
        "objectTransferSettings": {
          "sequence": "string",
          "sequenceOwnedBy": "string",
          "table": "string",
          "primaryKey": "string",
          "fkConstraint": "string",
          "defaultValues": "string",
          "constraint": "string",
          "index": "string",
          "view": "string",
          "function": "string",
          "trigger": "string",
          "type": "string",
          "rule": "string",
          "collation": "string",
          "policy": "string",
          "cast": "string",
          "materializedView": "string",
          "sequenceSet": "string"
        },
        "securityGroups": [
          "string"
        ]
      },
      "ydbSource": {
        "database": "string",
        "instance": "string",
        "paths": [
          "string"
        ],
        "serviceAccountId": "string",
        "subnetId": "string",
        "saKeyContent": "string",
        "securityGroups": [
          "string"
        ],
        "changefeedCustomName": "string",
        "changefeedCustomConsumerName": "string"
      },
      "ydsSource": {
        "database": "string",
        "stream": "string",
        "serviceAccountId": "string",
        "supportedCodecs": [
          "string"
        ],
        "parser": {
          // Includes only one of the fields `jsonParser`, `auditTrailsV1Parser`, `cloudLoggingParser`, `tskvParser`
          "jsonParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          },
          "auditTrailsV1Parser": "object",
          "cloudLoggingParser": "object",
          "tskvParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          }
          // end of the list of possible fields
        },
        "allowTtlRewind": "boolean",
        "endpoint": "string",
        "subnetId": "string",
        "securityGroups": [
          "string"
        ],
        "consumer": "string"
      },
      "kafkaSource": {
        "connection": {
          // Includes only one of the fields `clusterId`, `onPremise`, `connectionManagerConnection`
          "clusterId": "string",
          "onPremise": {
            "brokerUrls": [
              "string"
            ],
            "subnetId": "string",
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "auth": {
          // Includes only one of the fields `sasl`, `noAuth`
          "sasl": {
            "user": "string",
            "mechanism": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            }
          },
          "noAuth": "object"
          // end of the list of possible fields
        },
        "securityGroups": [
          "string"
        ],
        "topicName": "string",
        "transformer": {
          "cloudFunction": "string",
          "numberOfRetries": "string",
          "bufferSize": "string",
          "bufferFlushInterval": "string",
          "invocationTimeout": "string",
          "serviceAccountId": "string"
        },
        "parser": {
          // Includes only one of the fields `jsonParser`, `auditTrailsV1Parser`, `cloudLoggingParser`, `tskvParser`
          "jsonParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          },
          "auditTrailsV1Parser": "object",
          "cloudLoggingParser": "object",
          "tskvParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          }
          // end of the list of possible fields
        },
        "topicNames": [
          "string"
        ]
      },
      "mongoSource": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
            "mdbClusterId": "string",
            "onPremise": {
              "hosts": [
                "string"
              ],
              "port": "string",
              "replicaSet": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "replicaSet": "string"
            },
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "authSource": "string"
          }
          // end of the list of possible fields
        },
        "subnetId": "string",
        "collections": [
          {
            "databaseName": "string",
            "collectionName": "string"
          }
        ],
        "excludedCollections": [
          {
            "databaseName": "string",
            "collectionName": "string"
          }
        ],
        "secondaryPreferredMode": "boolean",
        "securityGroups": [
          "string"
        ]
      },
      "clickhouseSource": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `onPremise`, `connectionManagerConnection`, `mdbClusterId`
            "onPremise": {
              "shards": [
                {
                  "name": "string",
                  "hosts": [
                    "string"
                  ]
                }
              ],
              "httpPort": "string",
              "nativePort": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "subnetId": "string"
            },
            "mdbClusterId": "string",
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "database": "string"
          }
          // end of the list of possible fields
        },
        "includeTables": [
          "string"
        ],
        "excludeTables": [
          "string"
        ],
        "subnetId": "string",
        "securityGroups": [
          "string"
        ],
        "clickhouseClusterName": "string"
      },
      "mysqlTarget": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "sqlMode": "string",
        "skipConstraintChecks": "boolean",
        "timezone": "string",
        "cleanupPolicy": "string",
        "serviceDatabase": "string",
        "securityGroups": [
          "string"
        ],
        "isSchemaMigrationDisabled": "boolean"
      },
      "postgresTarget": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "cleanupPolicy": "string",
        "securityGroups": [
          "string"
        ],
        "isSchemaMigrationDisabled": "boolean"
      },
      "clickhouseTarget": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `onPremise`, `connectionManagerConnection`, `mdbClusterId`
            "onPremise": {
              "shards": [
                {
                  "name": "string",
                  "hosts": [
                    "string"
                  ]
                }
              ],
              "httpPort": "string",
              "nativePort": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "subnetId": "string"
            },
            "mdbClusterId": "string",
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "database": "string"
          }
          // end of the list of possible fields
        },
        "subnetId": "string",
        "altNames": [
          {
            "fromName": "string",
            "toName": "string"
          }
        ],
        "cleanupPolicy": "string",
        "sharding": {
          // Includes only one of the fields `columnValueHash`, `customMapping`
          "columnValueHash": {
            "columnName": "string"
          },
          "customMapping": {
            "columnName": "string",
            "mapping": [
              {
                "columnValue": {
                  // Includes only one of the fields `stringValue`
                  "stringValue": "string"
                  // end of the list of possible fields
                },
                "shardName": "string"
              }
            ]
          }
          // end of the list of possible fields
        },
        "isSchemaMigrationDisabled": "boolean",
        "clickhouseClusterName": "string",
        "securityGroups": [
          "string"
        ]
      },
      "ydbTarget": {
        "database": "string",
        "instance": "string",
        "path": "string",
        "serviceAccountId": "string",
        "cleanupPolicy": "string",
        "subnetId": "string",
        "saKeyContent": "string",
        "securityGroups": [
          "string"
        ],
        "isTableColumnOriented": "boolean",
        "defaultCompression": "string",
        "isSchemaMigrationDisabled": "boolean"
      },
      "kafkaTarget": {
        "connection": {
          // Includes only one of the fields `clusterId`, `onPremise`, `connectionManagerConnection`
          "clusterId": "string",
          "onPremise": {
            "brokerUrls": [
              "string"
            ],
            "subnetId": "string",
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "auth": {
          // Includes only one of the fields `sasl`, `noAuth`
          "sasl": {
            "user": "string",
            "mechanism": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            }
          },
          "noAuth": "object"
          // end of the list of possible fields
        },
        "securityGroups": [
          "string"
        ],
        "topicSettings": {
          // Includes only one of the fields `topic`, `topicPrefix`
          "topic": {
            "topicName": "string",
            "saveTxOrder": "boolean"
          },
          "topicPrefix": "string"
          // end of the list of possible fields
        },
        "serializer": {
          // Includes only one of the fields `serializerAuto`, `serializerJson`, `serializerDebezium`
          "serializerAuto": "object",
          "serializerJson": "object",
          "serializerDebezium": {
            "serializerParameters": [
              {
                "key": "string",
                "value": "string"
              }
            ]
          }
          // end of the list of possible fields
        }
      },
      "mongoTarget": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
            "mdbClusterId": "string",
            "onPremise": {
              "hosts": [
                "string"
              ],
              "port": "string",
              "replicaSet": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "replicaSet": "string"
            },
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "authSource": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "cleanupPolicy": "string",
        "subnetId": "string",
        "securityGroups": [
          "string"
        ]
      },
      "metrikaSource": {
        "counterIds": [
          "string"
        ],
        "token": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "streams": [
          {
            "type": "string",
            "columns": [
              "string"
            ]
          }
        ]
      },
      "ydsTarget": {
        "database": "string",
        "stream": "string",
        "serviceAccountId": "string",
        "saveTxOrder": "boolean",
        "compressionCodec": "string",
        "serializer": {
          // Includes only one of the fields `serializerAuto`, `serializerJson`, `serializerDebezium`
          "serializerAuto": "object",
          "serializerJson": "object",
          "serializerDebezium": {
            "serializerParameters": [
              {
                "key": "string",
                "value": "string"
              }
            ]
          }
          // end of the list of possible fields
        },
        "endpoint": "string",
        "subnetId": "string",
        "securityGroups": [
          "string"
        ]
      }
      // end of the list of possible fields
    }
  },
  "target": {
    "id": "string",
    "folderId": "string",
    "name": "string",
    "description": "string",
    "labels": "object",
    "settings": {
      // Includes only one of the fields `mysqlSource`, `postgresSource`, `ydbSource`, `ydsSource`, `kafkaSource`, `mongoSource`, `clickhouseSource`, `mysqlTarget`, `postgresTarget`, `clickhouseTarget`, `ydbTarget`, `kafkaTarget`, `mongoTarget`, `metrikaSource`, `ydsTarget`
      "mysqlSource": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "timezone": "string",
        "objectTransferSettings": {
          "view": "string",
          "routine": "string",
          "trigger": "string",
          "tables": "string"
        },
        "includeTablesRegex": [
          "string"
        ],
        "excludeTablesRegex": [
          "string"
        ],
        "securityGroups": [
          "string"
        ],
        "serviceDatabase": "string"
      },
      "postgresSource": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "includeTables": [
          "string"
        ],
        "excludeTables": [
          "string"
        ],
        "slotByteLagLimit": "string",
        "serviceSchema": "string",
        "objectTransferSettings": {
          "sequence": "string",
          "sequenceOwnedBy": "string",
          "table": "string",
          "primaryKey": "string",
          "fkConstraint": "string",
          "defaultValues": "string",
          "constraint": "string",
          "index": "string",
          "view": "string",
          "function": "string",
          "trigger": "string",
          "type": "string",
          "rule": "string",
          "collation": "string",
          "policy": "string",
          "cast": "string",
          "materializedView": "string",
          "sequenceSet": "string"
        },
        "securityGroups": [
          "string"
        ]
      },
      "ydbSource": {
        "database": "string",
        "instance": "string",
        "paths": [
          "string"
        ],
        "serviceAccountId": "string",
        "subnetId": "string",
        "saKeyContent": "string",
        "securityGroups": [
          "string"
        ],
        "changefeedCustomName": "string",
        "changefeedCustomConsumerName": "string"
      },
      "ydsSource": {
        "database": "string",
        "stream": "string",
        "serviceAccountId": "string",
        "supportedCodecs": [
          "string"
        ],
        "parser": {
          // Includes only one of the fields `jsonParser`, `auditTrailsV1Parser`, `cloudLoggingParser`, `tskvParser`
          "jsonParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          },
          "auditTrailsV1Parser": "object",
          "cloudLoggingParser": "object",
          "tskvParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          }
          // end of the list of possible fields
        },
        "allowTtlRewind": "boolean",
        "endpoint": "string",
        "subnetId": "string",
        "securityGroups": [
          "string"
        ],
        "consumer": "string"
      },
      "kafkaSource": {
        "connection": {
          // Includes only one of the fields `clusterId`, `onPremise`, `connectionManagerConnection`
          "clusterId": "string",
          "onPremise": {
            "brokerUrls": [
              "string"
            ],
            "subnetId": "string",
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "auth": {
          // Includes only one of the fields `sasl`, `noAuth`
          "sasl": {
            "user": "string",
            "mechanism": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            }
          },
          "noAuth": "object"
          // end of the list of possible fields
        },
        "securityGroups": [
          "string"
        ],
        "topicName": "string",
        "transformer": {
          "cloudFunction": "string",
          "numberOfRetries": "string",
          "bufferSize": "string",
          "bufferFlushInterval": "string",
          "invocationTimeout": "string",
          "serviceAccountId": "string"
        },
        "parser": {
          // Includes only one of the fields `jsonParser`, `auditTrailsV1Parser`, `cloudLoggingParser`, `tskvParser`
          "jsonParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          },
          "auditTrailsV1Parser": "object",
          "cloudLoggingParser": "object",
          "tskvParser": {
            "dataSchema": {
              // Includes only one of the fields `jsonFields`, `fields`
              "jsonFields": "string",
              "fields": {
                "fields": [
                  {
                    "name": "string",
                    "type": "string",
                    "key": "boolean",
                    "required": "boolean",
                    "path": "string"
                  }
                ]
              }
              // end of the list of possible fields
            },
            "nullKeysAllowed": "boolean",
            "addRestColumn": "boolean",
            "unescapeStringValues": "boolean"
          }
          // end of the list of possible fields
        },
        "topicNames": [
          "string"
        ]
      },
      "mongoSource": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
            "mdbClusterId": "string",
            "onPremise": {
              "hosts": [
                "string"
              ],
              "port": "string",
              "replicaSet": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "replicaSet": "string"
            },
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "authSource": "string"
          }
          // end of the list of possible fields
        },
        "subnetId": "string",
        "collections": [
          {
            "databaseName": "string",
            "collectionName": "string"
          }
        ],
        "excludedCollections": [
          {
            "databaseName": "string",
            "collectionName": "string"
          }
        ],
        "secondaryPreferredMode": "boolean",
        "securityGroups": [
          "string"
        ]
      },
      "clickhouseSource": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `onPremise`, `connectionManagerConnection`, `mdbClusterId`
            "onPremise": {
              "shards": [
                {
                  "name": "string",
                  "hosts": [
                    "string"
                  ]
                }
              ],
              "httpPort": "string",
              "nativePort": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "subnetId": "string"
            },
            "mdbClusterId": "string",
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "database": "string"
          }
          // end of the list of possible fields
        },
        "includeTables": [
          "string"
        ],
        "excludeTables": [
          "string"
        ],
        "subnetId": "string",
        "securityGroups": [
          "string"
        ],
        "clickhouseClusterName": "string"
      },
      "mysqlTarget": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "sqlMode": "string",
        "skipConstraintChecks": "boolean",
        "timezone": "string",
        "cleanupPolicy": "string",
        "serviceDatabase": "string",
        "securityGroups": [
          "string"
        ],
        "isSchemaMigrationDisabled": "boolean"
      },
      "postgresTarget": {
        "connection": {
          // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
          "mdbClusterId": "string",
          "onPremise": {
            "port": "string",
            "subnetId": "string",
            "hosts": [
              "string"
            ],
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "user": "string",
        "password": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "cleanupPolicy": "string",
        "securityGroups": [
          "string"
        ],
        "isSchemaMigrationDisabled": "boolean"
      },
      "clickhouseTarget": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `onPremise`, `connectionManagerConnection`, `mdbClusterId`
            "onPremise": {
              "shards": [
                {
                  "name": "string",
                  "hosts": [
                    "string"
                  ]
                }
              ],
              "httpPort": "string",
              "nativePort": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "subnetId": "string"
            },
            "mdbClusterId": "string",
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "database": "string"
          }
          // end of the list of possible fields
        },
        "subnetId": "string",
        "altNames": [
          {
            "fromName": "string",
            "toName": "string"
          }
        ],
        "cleanupPolicy": "string",
        "sharding": {
          // Includes only one of the fields `columnValueHash`, `customMapping`
          "columnValueHash": {
            "columnName": "string"
          },
          "customMapping": {
            "columnName": "string",
            "mapping": [
              {
                "columnValue": {
                  // Includes only one of the fields `stringValue`
                  "stringValue": "string"
                  // end of the list of possible fields
                },
                "shardName": "string"
              }
            ]
          }
          // end of the list of possible fields
        },
        "isSchemaMigrationDisabled": "boolean",
        "clickhouseClusterName": "string",
        "securityGroups": [
          "string"
        ]
      },
      "ydbTarget": {
        "database": "string",
        "instance": "string",
        "path": "string",
        "serviceAccountId": "string",
        "cleanupPolicy": "string",
        "subnetId": "string",
        "saKeyContent": "string",
        "securityGroups": [
          "string"
        ],
        "isTableColumnOriented": "boolean",
        "defaultCompression": "string",
        "isSchemaMigrationDisabled": "boolean"
      },
      "kafkaTarget": {
        "connection": {
          // Includes only one of the fields `clusterId`, `onPremise`, `connectionManagerConnection`
          "clusterId": "string",
          "onPremise": {
            "brokerUrls": [
              "string"
            ],
            "subnetId": "string",
            "tlsMode": {
              // Includes only one of the fields `enabled`
              "enabled": {
                "caCertificate": "string"
              }
              // end of the list of possible fields
            }
          },
          "connectionManagerConnection": {
            "connectionId": "string",
            "subnetId": "string"
          }
          // end of the list of possible fields
        },
        "auth": {
          // Includes only one of the fields `sasl`, `noAuth`
          "sasl": {
            "user": "string",
            "mechanism": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            }
          },
          "noAuth": "object"
          // end of the list of possible fields
        },
        "securityGroups": [
          "string"
        ],
        "topicSettings": {
          // Includes only one of the fields `topic`, `topicPrefix`
          "topic": {
            "topicName": "string",
            "saveTxOrder": "boolean"
          },
          "topicPrefix": "string"
          // end of the list of possible fields
        },
        "serializer": {
          // Includes only one of the fields `serializerAuto`, `serializerJson`, `serializerDebezium`
          "serializerAuto": "object",
          "serializerJson": "object",
          "serializerDebezium": {
            "serializerParameters": [
              {
                "key": "string",
                "value": "string"
              }
            ]
          }
          // end of the list of possible fields
        }
      },
      "mongoTarget": {
        "connection": {
          // Includes only one of the fields `connectionOptions`
          "connectionOptions": {
            // Includes only one of the fields `mdbClusterId`, `onPremise`, `connectionManagerConnection`
            "mdbClusterId": "string",
            "onPremise": {
              "hosts": [
                "string"
              ],
              "port": "string",
              "replicaSet": "string",
              "tlsMode": {
                // Includes only one of the fields `enabled`
                "enabled": {
                  "caCertificate": "string"
                }
                // end of the list of possible fields
              }
            },
            "connectionManagerConnection": {
              "connectionId": "string",
              "replicaSet": "string"
            },
            // end of the list of possible fields
            "user": "string",
            "password": {
              // Includes only one of the fields `raw`
              "raw": "string"
              // end of the list of possible fields
            },
            "authSource": "string"
          }
          // end of the list of possible fields
        },
        "database": "string",
        "cleanupPolicy": "string",
        "subnetId": "string",
        "securityGroups": [
          "string"
        ]
      },
      "metrikaSource": {
        "counterIds": [
          "string"
        ],
        "token": {
          // Includes only one of the fields `raw`
          "raw": "string"
          // end of the list of possible fields
        },
        "streams": [
          {
            "type": "string",
            "columns": [
              "string"
            ]
          }
        ]
      },
      "ydsTarget": {
        "database": "string",
        "stream": "string",
        "serviceAccountId": "string",
        "saveTxOrder": "boolean",
        "compressionCodec": "string",
        "serializer": {
          // Includes only one of the fields `serializerAuto`, `serializerJson`, `serializerDebezium`
          "serializerAuto": "object",
          "serializerJson": "object",
          "serializerDebezium": {
            "serializerParameters": [
              {
                "key": "string",
                "value": "string"
              }
            ]
          }
          // end of the list of possible fields
        },
        "endpoint": "string",
        "subnetId": "string",
        "securityGroups": [
          "string"
        ]
      }
      // end of the list of possible fields
    }
  },
  "runtime": {
    // Includes only one of the fields `ycRuntime`
    "ycRuntime": {
      "jobCount": "string",
      "uploadShardParams": {
        "jobCount": "string",
        "processCount": "string"
      }
    }
    // end of the list of possible fields
  },
  "status": "string",
  "type": "string",
  "warning": "string",
  "transformation": {
    "transformers": [
      {
        // Includes only one of the fields `maskField`, `filterColumns`, `renameTables`, `replacePrimaryKey`, `convertToString`, `sharderTransformer`, `tableSplitterTransformer`, `filterRows`
        "maskField": {
          "tables": {
            "includeTables": [
              "string"
            ],
            "excludeTables": [
              "string"
            ]
          },
          "columns": [
            "string"
          ],
          "function": {
            // Includes only one of the fields `maskFunctionHash`
            "maskFunctionHash": {
              "userDefinedSalt": "string"
            }
            // end of the list of possible fields
          }
        },
        "filterColumns": {
          "tables": {
            "includeTables": [
              "string"
            ],
            "excludeTables": [
              "string"
            ]
          },
          "columns": {
            "includeColumns": [
              "string"
            ],
            "excludeColumns": [
              "string"
            ]
          }
        },
        "renameTables": {
          "renameTables": [
            {
              "originalName": {
                "nameSpace": "string",
                "name": "string"
              },
              "newName": {
                "nameSpace": "string",
                "name": "string"
              }
            }
          ]
        },
        "replacePrimaryKey": {
          "tables": {
            "includeTables": [
              "string"
            ],
            "excludeTables": [
              "string"
            ]
          },
          "keys": [
            "string"
          ]
        },
        "convertToString": {
          "tables": {
            "includeTables": [
              "string"
            ],
            "excludeTables": [
              "string"
            ]
          },
          "columns": {
            "includeColumns": [
              "string"
            ],
            "excludeColumns": [
              "string"
            ]
          }
        },
        "sharderTransformer": {
          "tables": {
            "includeTables": [
              "string"
            ],
            "excludeTables": [
              "string"
            ]
          },
          // Includes only one of the fields `columns`, `random`
          "columns": {
            "includeColumns": [
              "string"
            ],
            "excludeColumns": [
              "string"
            ]
          },
          "random": "object",
          // end of the list of possible fields
          "shardsCount": "string"
        },
        "tableSplitterTransformer": {
          "tables": {
            "includeTables": [
              "string"
            ],
            "excludeTables": [
              "string"
            ]
          },
          "columns": [
            "string"
          ],
          "splitter": "string"
        },
        "filterRows": {
          "tables": {
            "includeTables": [
              "string"
            ],
            "excludeTables": [
              "string"
            ]
          },
          "filter": "string",
          "filters": [
            "string"
          ]
        }
        // end of the list of possible fields
      }
    ]
  },
  "dataObjects": {
    "includeObjects": [
      "string"
    ]
  },
  "prestable": "boolean",
  "replicationRuntime": {
    // Includes only one of the fields `ycRuntime`
    "ycRuntime": {
      "jobCount": "string",
      "uploadShardParams": {
        "jobCount": "string",
        "processCount": "string"
      }
    }
    // end of the list of possible fields
  }
}

Transfer core entity

Field

Description

id

string

folderId

string

name

string

description

string

labels

object (map<string, string>)

source

Endpoint

target

Endpoint

runtime

Runtime

Runtime parameters for the transfer

status

enum (TransferStatus)

  • CREATING: Transfer does some work before running
  • CREATED: Transfer created but not started by user
  • RUNNING: Transfer currently doing replication work
  • STOPPING: Transfer shutdown
  • STOPPED: Transfer stopped by user
  • ERROR: Transfer stopped by system
  • SNAPSHOTTING: Transfer copy snapshot
  • DONE: Transfer reach terminal phase
  • PAUSED: Transfer is paused by user - same as stopped, but replication slot is alive
  • PREPARING: Transfer does some work before replication

type

enum (TransferType)

Type of the transfer. One of SNAPSHOT_ONLY, INCREMENT_ONLY,
SNAPSHOT_AND_INCREMENT

  • SNAPSHOT_AND_INCREMENT: Snapshot and increment
  • SNAPSHOT_ONLY: Snapshot
  • INCREMENT_ONLY: Increment

warning

string

Error description if transfer has any errors.

transformation

Transformation

Transformation for the transfer.

dataObjects

DataObjects

prestable

boolean

replicationRuntime

Runtime

Replication runtime parameters for the transfer

EndpointEndpoint

Data Transfer endpoint. For more information, see the official
documentation

Field

Description

id

string

folderId

string

name

string

description

string

labels

object (map<string, string>)

settings

EndpointSettings

DataTransfer Endpoint Settings block

EndpointSettingsEndpointSettings

Field

Description

mysqlSource

MysqlSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

postgresSource

PostgresSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

ydbSource

YdbSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

ydsSource

YDSSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

kafkaSource

KafkaSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

mongoSource

MongoSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

clickhouseSource

ClickhouseSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

mysqlTarget

MysqlTarget

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

postgresTarget

PostgresTarget

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

clickhouseTarget

ClickhouseTarget

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

ydbTarget

YdbTarget

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

kafkaTarget

KafkaTarget

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

mongoTarget

MongoTarget

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

metrikaSource

MetrikaSource

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

ydsTarget

YDSTarget

Includes only one of the fields mysqlSource, postgresSource, ydbSource, ydsSource, kafkaSource, mongoSource, clickhouseSource, mysqlTarget, postgresTarget, clickhouseTarget, ydbTarget, kafkaTarget, mongoTarget, metrikaSource, ydsTarget.

MysqlSourceMysqlSource

Settings specific to the MySQL source endpoint

Field

Description

connection

MysqlConnection

Database connection settings

database

string

Name of the database to transfer

You can leave it empty, then it will be possible to transfer tables from several
databases at the same time from this source.

user

string

User for database access. Required unless connection manager connection is used

password

Secret

Password for database access.

timezone

string

Database timezone

Is used for parsing timestamps for saving source timezones. Accepts values from
IANA timezone database. Default: local timezone.

objectTransferSettings

MysqlObjectTransferSettings

Schema migration
Defines which database schema objects should be transferred, e.g. views,
routines, etc.
All of the attrubutes in the block are optional and should be either
BEFORE_DATA, AFTER_DATA or NEVER."

includeTablesRegex[]

string

List of regular expressions of table names which should be transferred. A table
name is formatted as schemaname.tablename. For example, a single regular
expression may look like ^mydb.employees$

excludeTablesRegex[]

string

Opposite of include_table_regex. The tables matching the specified regular
expressions will not be transferred

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

serviceDatabase

string

Database for service tables
Default: data source database. Here created technical tables (__tm_keeper,
__tm_gtid_keeper).

MysqlConnectionMysqlConnection

Field

Description

mdbClusterId

string

Managed Service for MySQL cluster ID

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

onPremise

OnPremiseMysql

Connection options for on-premise MySQL

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

connectionManagerConnection

ConnectionManagerConnection

Get Mysql installation params and credentials from Connection Manager

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

OnPremiseMysqlOnPremiseMysql

Field

Description

port

string (int64)

Port for the database connection

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

hosts[]

string

List of host names of the MySQL server. Exactly one host is expected

tlsMode

TLSMode

TLS settings for server connection. Disabled by default.

TLSModeTLSMode

TLS configuration

Field

Description

enabled

TLSConfig

TLS is used for the server connection

Includes only one of the fields enabled.

TLSConfigTLSConfig

Field

Description

caCertificate

string

CA certificate

X.509 certificate of the certificate authority which issued the server's
certificate, in PEM format. When CA certificate is specified, TLS is used to
connect to the server. If CA certificate is empty, the server's certificate must
be signed by a well-known CA

ConnectionManagerConnectionConnectionManagerConnection

Use Connection Manager connection

Field

Description

connectionId

string

ID of connection in Connection Manager with installation params and credetials

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

SecretSecret

Field

Description

raw

string

Raw secret value

Includes only one of the fields raw.

MysqlObjectTransferSettingsMysqlObjectTransferSettings

Field

Description

view

enum (ObjectTransferStage)

Views

CREATE VIEW ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

routine

enum (ObjectTransferStage)

Routines

CREATE PROCEDURE ... ; CREATE FUNCTION ... ;

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

trigger

enum (ObjectTransferStage)

Triggers

CREATE TRIGGER ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

tables

enum (ObjectTransferStage)

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

PostgresSourcePostgresSource

Settings specific to the PostgreSQL source endpoint.

Field

Description

connection

PostgresConnection

Database connection settings

database

string

Name of the database to transfer

user

string

User for database access. Required unless Connection Manager connection is used.

password

Secret

Password for database access.

includeTables[]

string

List of tables to transfer, formatted as schemaname.tablename.
If omitted or an empty list is specified, all tables will be transferred.
Can contain schema_name.* patterns.

excludeTables[]

string

List of tables which will not be transfered, formatted as schemaname.tablename
If omitted or empty list is specified, all tables are replicated.
Can contain schema_name.* patterns.

slotByteLagLimit

string (int64)

Maximum WAL size held by the replication slot (API - in bytes, terraform - in
gigabytes);
Exceeding this limit will result in a replication failure and deletion of the
replication slot.
Default is 50 gigabytes

serviceSchema

string

Name of the database schema in which auxiliary tables needed for the transfer
will be created (__consumer_keeper, __data_transfer_mole_finder).
Empty service_schema implies schema public

objectTransferSettings

PostgresObjectTransferSettings

Defines which database schema objects should be transferred, e.g. views,
functions, etc.
All of the attributes in this block are optional and should be either
BEFORE_DATA, AFTER_DATA or NEVER

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

PostgresConnectionPostgresConnection

Field

Description

mdbClusterId

string

Managed Service for PostgreSQL cluster ID

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

onPremise

OnPremisePostgres

Connection options for on-premise PostgreSQL

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

connectionManagerConnection

ConnectionManagerConnection

Get Postgres installation params and credentials from Connection Manager

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

OnPremisePostgresOnPremisePostgres

Field

Description

port

string (int64)

PG port. Will be used if the cluster ID is not specified.

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

hosts[]

string

PG installation hosts

tlsMode

TLSMode

TLS settings for server connection. Disabled by default.

PostgresObjectTransferSettingsPostgresObjectTransferSettings

Field

Description

sequence

enum (ObjectTransferStage)

Sequences

CREATE SEQUENCE ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

sequenceOwnedBy

enum (ObjectTransferStage)

Owned sequences

CREATE SEQUENCE ... OWNED BY ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

table

enum (ObjectTransferStage)

Tables

CREATE TABLE ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

primaryKey

enum (ObjectTransferStage)

Primary keys

ALTER TABLE ... ADD PRIMARY KEY ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

fkConstraint

enum (ObjectTransferStage)

Foreign keys

ALTER TABLE ... ADD FOREIGN KEY ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

defaultValues

enum (ObjectTransferStage)

Default values

ALTER TABLE ... ALTER COLUMN ... SET DEFAULT ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

constraint

enum (ObjectTransferStage)

Constraints

ALTER TABLE ... ADD CONSTRAINT ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

index

enum (ObjectTransferStage)

Indexes

CREATE INDEX ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

view

enum (ObjectTransferStage)

Views

CREATE VIEW ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

function

enum (ObjectTransferStage)

Functions

CREATE FUNCTION ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

trigger

enum (ObjectTransferStage)

Triggers

CREATE TRIGGER ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

type

enum (ObjectTransferStage)

Types

CREATE TYPE ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

rule

enum (ObjectTransferStage)

Rules

CREATE RULE ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

collation

enum (ObjectTransferStage)

Collations

CREATE COLLATION ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

policy

enum (ObjectTransferStage)

Policies

CREATE POLICY ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

cast

enum (ObjectTransferStage)

Casts

CREATE CAST ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

materializedView

enum (ObjectTransferStage)

Materialized views

CREATE MATERIALIZED VIEW ...

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

sequenceSet

enum (ObjectTransferStage)

  • BEFORE_DATA: Before data transfer
  • AFTER_DATA: After data transfer
  • NEVER: Don't copy

YdbSourceYdbSource

Settings specific to the YDB source endpoint

Field

Description

database

string

Database path in YDB where tables are stored.
Example: /ru/transfer_manager/prod/data-transfer-yt

instance

string

Instance of YDB. example: ydb-ru-prestable.yandex.net:2135.
If not specified, will be determined by database

paths[]

string

A list of paths which should be uploaded. When not specified, all available
tables are uploaded

serviceAccountId

string

Service account ID for interaction with database

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database. If omitted, the server has to be accessible via Internet

saKeyContent

string

Authorization Key

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

changefeedCustomName

string

Pre-created change feed if any

changefeedCustomConsumerName

string

Consumer for pre-created change feed if any

YDSSourceYDSSource

Settings specific to the YDS source endpoint

Field

Description

database

string

Database path in YDB for streams
Example: /ru/transfer_manager/prod/data-transfer

stream

string

Stream to read

serviceAccountId

string

Service account ID which has read access to the stream.

supportedCodecs[]

enum (YdsCompressionCodec)

List of supported compression codecs
Options: YDS_COMPRESSION_CODEC_RAW, YDS_COMPRESSION_CODEC_ZSTD,
YDS_COMPRESSION_CODEC_GZIP

  • YDS_COMPRESSION_CODEC_RAW
  • YDS_COMPRESSION_CODEC_GZIP
  • YDS_COMPRESSION_CODEC_ZSTD

parser

Parser

Data parsing rules

allowTtlRewind

boolean

Should continue working, if consumer read lag exceed TTL of topic
False: stop the transfer in error state, if detected lost data. True: continue
working with losing part of data

endpoint

string

YDS Endpoint for dedicated db

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database. If omitted, the server has to be accessible via Internet

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

consumer

string

Custom consumer - for important streams

ParserParser

Field

Description

jsonParser

GenericParserCommon

Parse data in json format

Includes only one of the fields jsonParser, auditTrailsV1Parser, cloudLoggingParser, tskvParser.

auditTrailsV1Parser

object

Parse Audit Trails data. Empty struct

Includes only one of the fields jsonParser, auditTrailsV1Parser, cloudLoggingParser, tskvParser.

cloudLoggingParser

object

Parse Cloud Logging data. Empty struct

Includes only one of the fields jsonParser, auditTrailsV1Parser, cloudLoggingParser, tskvParser.

tskvParser

GenericParserCommon

Parse data in tskv format

Includes only one of the fields jsonParser, auditTrailsV1Parser, cloudLoggingParser, tskvParser.

GenericParserCommonGenericParserCommon

Field

Description

dataSchema

DataSchema

Data parsing scheme

nullKeysAllowed

boolean

Allow null keys, if no - null keys will be putted to unparsed data

addRestColumn

boolean

Will add _rest column for all unknown fields

unescapeStringValues

boolean

Unescape string values

DataSchemaDataSchema

Field

Description

jsonFields

string

Description of the data schema as JSON specification

Includes only one of the fields jsonFields, fields.

fields

FieldList

Description of the data schema in the array of fields structure

Includes only one of the fields jsonFields, fields.

FieldListFieldList

Field

Description

fields[]

ColSchema

Description of the column schema in the array of fields structure

ColSchemaColSchema

Field

Description

name

string

Field name

type

enum (ColumnType)

Field type, one of: INT64, INT32, INT16, INT8, UINT64, UINT32,
UINT16, UINT8, DOUBLE, BOOLEAN, STRING, UTF8, ANY, DATETIME.

  • INT32
  • INT16
  • INT8
  • UINT64
  • UINT32
  • UINT16
  • UINT8
  • DOUBLE
  • BOOLEAN
  • STRING
  • UTF8
  • ANY
  • DATETIME
  • INT64

key

boolean

Mark field as Primary Key

required

boolean

Mark field as required

path

string

Path to the field

KafkaSourceKafkaSource

Settings specific to the Kafka source endpoint

Field

Description

connection

KafkaConnectionOptions

Connection settings

auth

KafkaAuth

Authentication settings

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

topicName

string

Deprecated*. Please use topic_names instead
Full source topic name

transformer

DataTransformationOptions

Transform data with a custom Cloud Function

parser

Parser

Data parsing parameters. If not set, the source messages are read in raw

topicNames[]

string

List of full source topic names to read

KafkaConnectionOptionsKafkaConnectionOptions

Field

Description

clusterId

string

Managed Service for Kafka cluster ID.
Set only one of: cluster_id/on_premise/connection_manager_connection

Includes only one of the fields clusterId, onPremise, connectionManagerConnection.

onPremise

OnPremiseKafka

Connection options for on-premise Kafka
Set only one of: cluster_id/on_premise/connection_manager_connection

Includes only one of the fields clusterId, onPremise, connectionManagerConnection.

connectionManagerConnection

ConnectionManagerConnection

Get Kafka installation params and credentials from Connection Manager
Set only one of: cluster_id/on_premise/connection_manager_connection

Includes only one of the fields clusterId, onPremise, connectionManagerConnection.

OnPremiseKafkaOnPremiseKafka

On-premise Kafka installation options

Field

Description

brokerUrls[]

string

Kafka broker URLs

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

tlsMode

TLSMode

TLS settings for broker connection. Disabled by default.

KafkaAuthKafkaAuth

Field

Description

sasl

KafkaSaslSecurity

Authentication with SASL

Includes only one of the fields sasl, noAuth.

noAuth

object

No authentication

Includes only one of the fields sasl, noAuth.

KafkaSaslSecurityKafkaSaslSecurity

Field

Description

user

string

User name

mechanism

enum (KafkaMechanism)

SASL mechanism for authentication, use one of: KAFKA_MECHANISM_SHA256,
KAFKA_MECHANISM_SHA512

  • KAFKA_MECHANISM_SHA256
  • KAFKA_MECHANISM_SHA512

password

Secret

Password for user

DataTransformationOptionsDataTransformationOptions

Field

Description

cloudFunction

string

Cloud function

numberOfRetries

string (int64)

Number of retries

bufferSize

string

Buffer size for function. Maximum 4 GB. Use value with units, i.e. 10 B, 20 kB,
2.0 MB, 30 MB, 1.0 GB

bufferFlushInterval

string

Flush interval

invocationTimeout

string

Invocation timeout

serviceAccountId

string

Service account

MongoSourceMongoSource

Settings specific to the MongoDB source endpoint

Field

Description

connection

MongoConnection

Connection settings

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

collections[]

MongoCollection

List of collections for replication. Empty list implies replication of all
tables on the deployment. Allowed to use * as collection name.

excludedCollections[]

MongoCollection

List of forbidden collections for replication. Allowed to use * as collection
name for forbid all collections of concrete schema.

secondaryPreferredMode

boolean

Read mode for mongo client: whether the secondary server should be preferred to
the primary when copying data

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

MongoConnectionMongoConnection

Field

Description

connectionOptions

MongoConnectionOptions

Includes only one of the fields connectionOptions.

MongoConnectionOptionsMongoConnectionOptions

Field

Description

mdbClusterId

string

Identifier of the Yandex StoreDoc cluster
Use one of: mdb_cluster_id/on_premise/connection_manager_connection

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

onPremise

OnPremiseMongo

Connection settings of the on-premise MongoDB server
Use one of: mdb_cluster_id/on_premise/connection_manager_connection

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

connectionManagerConnection

MongoConnectionManagerConnection

Get StoreDoc/MongoDB installation params and credentials from Connection Manager
Use one of: mdb_cluster_id/on_premise/connection_manager_connection

Includes only one of the fields mdbClusterId, onPremise, connectionManagerConnection.

user

string

User name, required unless connection_manager_connection is used

password

Secret

Password for user

authSource

string

Database name associated with the credentials

OnPremiseMongoOnPremiseMongo

Field

Description

hosts[]

string

Host names of the replica set

port

string (int64)

TCP Port number

replicaSet

string

Replica set name

tlsMode

TLSMode

TLS settings for the server connection. Empty implies plaintext connection

MongoConnectionManagerConnectionMongoConnectionManagerConnection

Field

Description

connectionId

string

ID of connectionmanager connection with mongodb/Yandex Storedoc installation
parameters and credentials

replicaSet

string

Replica set name, used only for on-premise mongodb installations

MongoCollectionMongoCollection

Field

Description

databaseName

string

collectionName

string

ClickhouseSourceClickhouseSource

Settings specific to the ClickHouse source endpoint

Field

Description

connection

ClickhouseConnection

Connection settings

includeTables[]

string

White list of tables for replication. If none or empty list is presented - will
replicate all tables. Can contain * patterns.

excludeTables[]

string

Exclude list of tables for replication. If none or empty list is presented -
will replicate all tables. Can contain * patterns.

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

clickhouseClusterName

string

Name of the ClickHouse cluster. For Managed ClickHouse that is name of
ShardGroup or managed cluster ID by default

ClickhouseConnectionClickhouseConnection

Field

Description

connectionOptions

ClickhouseConnectionOptions

Includes only one of the fields connectionOptions.

ClickhouseConnectionOptionsClickhouseConnectionOptions

Field

Description

onPremise

OnPremiseClickhouse

Connection settings of the on-premise ClickHouse server

Includes only one of the fields onPremise, connectionManagerConnection, mdbClusterId.

connectionManagerConnection

ConnectionManagerConnection

Get ClickHouse installation params and credentials from Connection Manager

Includes only one of the fields onPremise, connectionManagerConnection, mdbClusterId.

mdbClusterId

string

Identifier of the Managed ClickHouse cluster

Includes only one of the fields onPremise, connectionManagerConnection, mdbClusterId.

user

string

User for database access. Required unless connection_manager_connection is used

password

Secret

Password for the database access

database

string

Database name

OnPremiseClickhouseOnPremiseClickhouse

Field

Description

shards[]

ClickhouseShard

httpPort

string (int64)

nativePort

string (int64)

tlsMode

TLSMode

TLS settings for server connection. Disabled by default

ClickhouseShardClickhouseShard

Field

Description

name

string

hosts[]

string

MysqlTargetMysqlTarget

Settings specific to the MySQL target endpoint

Field

Description

connection

MysqlConnection

Database connection settings

database

string

Database name

Allowed to leave it empty, then the tables will be created in databases with the
same names as on the source. If this field is empty, then you must fill below db
schema for service table.

user

string

User for database access. Required unless connection manager connection is used

password

Secret

Password for database access.

sqlMode

string

sql_mode to use when
interacting with the server.
Defaults to NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION

skipConstraintChecks

boolean

Disable constraints checks
When true, disables foreign key checks and unique checks. False by default.
See
foreign_key_checks.
Recommend to disable for increase replication speed unless schema contains
cascading operations

timezone

string

Database timezone

Is used for parsing timestamps for saving source timezones. Accepts values from
IANA timezone database. Default: local timezone.

cleanupPolicy

enum (CleanupPolicy)

Cleanup policy for activate, reactivate and reupload processes.
One of DISABLED, DROP or TRUNCATE Default is DISABLED.

  • DISABLED: Don't cleanup
  • DROP: Drop
  • TRUNCATE: Truncate

serviceDatabase

string

Database schema for service table
Default: db name. Here created technical tables (__tm_keeper, __tm_gtid_keeper).

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

isSchemaMigrationDisabled

boolean

Whether can change table schema if schema changed on source

PostgresTargetPostgresTarget

Settings specific to the PostgreSQL target endpoint

Field

Description

connection

PostgresConnection

Database connection settings

database

string

Target database name

user

string

User for database access. Required unless Connection Manager connection is used

password

Secret

Password for database access.

cleanupPolicy

enum (CleanupPolicy)

Cleanup policy for activate, reactivate and reupload processes.
One of: DISABLED, DROP, TRUNCATE. Default is TRUNCATE

  • DISABLED: Don't cleanup
  • DROP: Drop
  • TRUNCATE: Truncate

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

isSchemaMigrationDisabled

boolean

Whether can change table schema if schema changed on source

ClickhouseTargetClickhouseTarget

Settings specific to the ClickHouse target endpoint

Field

Description

connection

ClickhouseConnection

Connection settings

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

altNames[]

AltName

Table renaming rules in target

cleanupPolicy

enum (ClickhouseCleanupPolicy)

How to clean collections when activating the transfer. One of
CLICKHOUSE_CLEANUP_POLICY_DISABLED or CLICKHOUSE_CLEANUP_POLICY_DROP

  • CLICKHOUSE_CLEANUP_POLICY_DISABLED
  • CLICKHOUSE_CLEANUP_POLICY_DROP
  • CLICKHOUSE_CLEANUP_POLICY_TRUNCATE

sharding

ClickhouseSharding

Shard selection rules for the data being transferred

isSchemaMigrationDisabled

boolean

Whether can change table schema if schema changed on source

clickhouseClusterName

string

Name of the ClickHouse cluster. For Managed ClickHouse that is name of
ShardGroup or managed cluster ID by default.

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

AltNameAltName

Field

Description

fromName

string

Source table name

toName

string

Target table name

ClickhouseShardingClickhouseSharding

Field

Description

columnValueHash

ColumnValueHash

Shard data by the hash value of the specified column

Includes only one of the fields columnValueHash, customMapping.

customMapping

ColumnValueMapping

A custom shard mapping by the value of the specified column

Includes only one of the fields columnValueHash, customMapping.

ColumnValueHashColumnValueHash

Field

Description

columnName

string

The name of the column to calculate hash from

ColumnValueMappingColumnValueMapping

Field

Description

columnName

string

The name of the column to inspect when deciding the shard to chose for an
incoming row

mapping[]

ValueToShard

The mapping of the specified column values to the shard names

ValueToShardValueToShard

Field

Description

columnValue

ColumnValue

The value of the column. Currently only the string columns are supported

shardName

string

The name of the shard into which all the rows with the specified column_value
will be written

ColumnValueColumnValue

Field

Description

stringValue

string

Includes only one of the fields stringValue.

YdbTargetYdbTarget

Settings specific to the YDB target endpoint

Field

Description

database

string

Database path in YDB where tables are stored.
Example: /ru/transfer_manager/prod/data-transfer

instance

string

Instance of YDB. example: ydb-ru-prestable.yandex.net:2135.
If not specified, will be determined by database

path

string

Path extension for database, each table will be layouted into this path

serviceAccountId

string

Service account ID for interaction with database

cleanupPolicy

enum (YdbCleanupPolicy)

Cleanup policy determine how to clean collections when activating the transfer.
One of YDB_CLEANUP_POLICY_DISABLED or YDB_CLEANUP_POLICY_DROP

  • YDB_CLEANUP_POLICY_DISABLED
  • YDB_CLEANUP_POLICY_DROP

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

saKeyContent

string

Authentication key

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

isTableColumnOriented

boolean

Whether a column-oriented (i.e. OLAP) tables should be created.
Default is false (create row-oriented OLTP tables)

defaultCompression

enum (YdbDefaultCompression)

Compression that will be used for default columns family on YDB table creation.
One of YDB_DEFAULT_COMPRESSION_UNSPECIFIED,
YDB_DEFAULT_COMPRESSION_DISABLED, YDB_DEFAULT_COMPRESSION_LZ4

  • YDB_DEFAULT_COMPRESSION_DISABLED
  • YDB_DEFAULT_COMPRESSION_LZ4

isSchemaMigrationDisabled

boolean

Whether can change table schema if schema changed on source

KafkaTargetKafkaTarget

Settings specific to the Kafka target endpoint

Field

Description

connection

KafkaConnectionOptions

Connection settings

auth

KafkaAuth

Authentication settings

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

topicSettings

KafkaTargetTopicSettings

Target topic settings

serializer

Serializer

Data serialization format settings

KafkaTargetTopicSettingsKafkaTargetTopicSettings

Field

Description

topic

KafkaTargetTopic

All messages will be sent to one topic

Includes only one of the fields topic, topicPrefix.

topicPrefix

string

Topic prefix
Messages will be sent to topic with name <topic_prefix>.<schema>.<table_name>.
Analogue of the Debezium setting database.server.name.

Includes only one of the fields topic, topicPrefix.

KafkaTargetTopicKafkaTargetTopic

Field

Description

topicName

string

Full topic name

saveTxOrder

boolean

Save transactions order
Not to split events queue into separate per-table queues.

SerializerSerializer

Data serialization format

Field

Description

serializerAuto

object

Empty block. Select the serialization format automatically

Includes only one of the fields serializerAuto, serializerJson, serializerDebezium.

serializerJson

object

Empty block. Serialize data in json format

Includes only one of the fields serializerAuto, serializerJson, serializerDebezium.

serializerDebezium

SerializerDebezium

Serialize data in debezium json format

Includes only one of the fields serializerAuto, serializerJson, serializerDebezium.

SerializerDebeziumSerializerDebezium

Serialize data in json format

Field

Description

serializerParameters[]

DebeziumSerializerParameter

A list of Debezium parameters set by the structure of the key and value
string fields

DebeziumSerializerParameterDebeziumSerializerParameter

Field

Description

key

string

Name of the serializer parameter

value

string

Value of the serializer parameter

MongoTargetMongoTarget

Settings specific to the MongoDB target endpoint

Field

Description

connection

MongoConnection

Connection settings

database

string

Database name. If not empty, then all the data will be written to the database
with the specified name; otherwise the database name is the same as in the
source endpoint

cleanupPolicy

enum (CleanupPolicy)

How to clean collections when activating the transfer. One of DISABLED, DROP
or TRUNCATE

  • DISABLED: Don't cleanup
  • DROP: Drop
  • TRUNCATE: Truncate

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database.
If omitted, the server has to be accessible via Internet

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

MetrikaSourceMetrikaSource

Settings specific to the Yandex Metrika source endpoint

Field

Description

counterIds[]

string (int64)

Counter IDs

token

Secret

Authentication token

streams[]

MetrikaStream

Streams

MetrikaStreamMetrikaStream

Field

Description

type

enum (MetrikaStreamType)

Stream type, one of: METRIKA_STREAM_TYPE_HITS, METRIKA_STREAM_TYPE_VISITS,
METRIKA_STREAM_TYPE_HITS_V2

  • METRIKA_STREAM_TYPE_HITS
  • METRIKA_STREAM_TYPE_VISITS
  • METRIKA_STREAM_TYPE_HITS_V2

columns[]

string

Column names

YDSTargetYDSTarget

Settings specific to the YDS target endpoint

Field

Description

database

string

Database path in YDB for streams
Example: /ru/transfer_manager/prod/data-transfer

stream

string

Stream to write to

serviceAccountId

string

Service account ID which has read access to the stream

saveTxOrder

boolean

Save transaction order
Not to split events queue into separate per-table queues.
Incompatible with setting Topic prefix, only with Topic full name.

compressionCodec

enum (YdsCompressionCodec)

Codec to use for output data compression. If not specified, no compression will
be done
Options: YDS_COMPRESSION_CODEC_RAW, YDS_COMPRESSION_CODEC_ZSTD,
YDS_COMPRESSION_CODEC_GZIP

  • YDS_COMPRESSION_CODEC_RAW
  • YDS_COMPRESSION_CODEC_GZIP
  • YDS_COMPRESSION_CODEC_ZSTD

serializer

Serializer

Data serialization format

endpoint

string

YDS Endpoint for dedicated db

subnetId

string

Identifier of the Yandex Cloud VPC subnetwork to user for accessing the
database. If omitted, the server has to be accessible via Internet

securityGroups[]

string

List of security groups that the transfer associated with this endpoint should
use

RuntimeRuntime

Field

Description

ycRuntime

YcRuntime

Includes only one of the fields ycRuntime.

YcRuntimeYcRuntime

YC Runtime parameters for the transfer

Field

Description

jobCount

string (int64)

Number of workers in parallel replication.

uploadShardParams

ShardingUploadParams

Parallel snapshot parameters

ShardingUploadParamsShardingUploadParams

Parallel snapshot parameters

Field

Description

jobCount

string (int64)

Number of workers.

processCount

string (int64)

Number of threads.

TransformationTransformation

Transformation is converting data using special transformer functions.
These functions are executed on a data stream, applied to each data change item,
and transform them.
A transformer can be run at both the metadata and data levels.
Data can only be transformed if the source and target are of different types.

Field

Description

transformers[]

Transformer

A list of transformers. You can specify exactly 1 transformer in each element of
list
When activating a transfer, a transformation plan is made for the tables that
match the specified criteria.
Transformers are applied to the tables in the sequence specified in the list.

TransformerTransformer

Some transformers may have limitations and only apply to some source-target
pairs.

Field

Description

maskField

MaskFieldTransformer

Mask field transformer allows you to hash data

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

filterColumns

FilterColumnsTransformer

Set up a list of table columns to transfer

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

renameTables

RenameTablesTransformer

Set rules for renaming tables by specifying the current names of the tables in
the source and new names for these tables in the target

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

replacePrimaryKey

ReplacePrimaryKeyTransformer

Override primary keys.

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

convertToString

ToStringTransformer

Convert column values to strings

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

sharderTransformer

SharderTransformer

Set the number of shards for particular tables and a list of columns whose
values will be used for calculating a hash to determine a shard.

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

tableSplitterTransformer

TableSplitterTransformer

Splits the X table into multiple tables (X_1, X_2, ..., X_n) based on data.

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

filterRows

FilterRowsTransformer

This filter only applies to transfers with queues (Logbroker or Apache Kafka®)
as a data source. When running a transfer, only the strings meeting the
specified criteria remain in a changefeed.

Includes only one of the fields maskField, filterColumns, renameTables, replacePrimaryKey, convertToString, sharderTransformer, tableSplitterTransformer, filterRows.

MaskFieldTransformerMaskFieldTransformer

Mask field transformer allows you to hash data

Field

Description

tables

TablesFilter

List of included and excluded tables

columns[]

string

Specify the name of the column for data masking (a regular expression).

function

MaskFunction

Mask function

TablesFilterTablesFilter

Filter tables using lists of included and excluded tables.

Field

Description

includeTables[]

string

List of tables that will be included to transfer

excludeTables[]

string

List of tables that will be excluded to transfer

MaskFunctionMaskFunction

Mask function

Field

Description

maskFunctionHash

MaskFunctionHash

Hash mask function

Includes only one of the fields maskFunctionHash.

MaskFunctionHashMaskFunctionHash

Hash data using HMAC

Field

Description

userDefinedSalt

string

This string will be used in the HMAC(sha256, salt) function applied to the
column data.

FilterColumnsTransformerFilterColumnsTransformer

Set up a list of table columns to transfer

Field

Description

tables

TablesFilter

List of the tables to filter using lists of included and excluded tables.

columns

ColumnsFilter

List of the columns to transfer to the target tables using lists of included and
excluded columns.

ColumnsFilterColumnsFilter

Filter columns using lists of included and excluded columns.

Field

Description

includeColumns[]

string

List of columns that will be included to transfer

excludeColumns[]

string

List of columns that will be excluded to transfer

RenameTablesTransformerRenameTablesTransformer

Set rules for renaming tables by specifying the current names of the tables in
the source and new names for these tables in the target.

Field

Description

renameTables[]

RenameTable

List of renaming rules

RenameTableRenameTable

Specify rule for renaming table

Field

Description

originalName

Table

Specify the current names of the table in the source

newName

Table

Specify the new names for this table in the target

TableTable

Field

Description

nameSpace

string

name

string

ReplacePrimaryKeyTransformerReplacePrimaryKeyTransformer

Override primary keys

Field

Description

tables

TablesFilter

List of included and excluded tables

keys[]

string

List of columns to be used as primary keys

ToStringTransformerToStringTransformer

Convert column values to strings
The values will be converted depending on the source type
Conversion rules are described here:
https://cloud.yandex.com/en/docs/data-transfer/concepts/data-transformation#convert-to-string

Field

Description

tables

TablesFilter

List of included and excluded tables

columns

ColumnsFilter

List of included and excluded columns

SharderTransformerSharderTransformer

Set the number of shards for particular tables and a list of columns whose
values will be used for calculating a hash to determine a shard.

Field

Description

tables

TablesFilter

List of included and excluded tables

columns

ColumnsFilter

List of included and excluded columns

Includes only one of the fields columns, random.

random

object

Includes only one of the fields columns, random.

shardsCount

string (int64)

Number of shards

TableSplitterTransformerTableSplitterTransformer

A transfer splits the X table into multiple tables (X_1, X_2, ..., X_n) based on
data.
If a row was located in the X table before it was split, it is now in the X_i
table,
where i is determined by the column list and split string parameters.
Example:
If the column list has two columns, month of birth and gender, specified and the
split string states @,
information about an employee whose name is John and who was born on February
11, 1984,
from the Employees table will get to a new table named Employees@February@male.

Field

Description

tables

TablesFilter

List of included and excluded tables

columns[]

string

Specify the columns in the tables to be partitioned.

splitter

string

Specify the split string to be used for merging components in a new table name.

FilterRowsTransformerFilterRowsTransformer

This filter only applies to transfers with queues (Logbroker or Apache Kafka®)
as a data source.
When running a transfer, only the strings meeting the specified criteria remain
in a changefeed.

Field

Description

tables

TablesFilter

List of included and excluded tables.

filter

string

Filtering criterion. This can be comparison operators for numeric, string, and
Boolean values,
comparison to NULL, and checking whether a substring is part of a string.
Details here:
https://yandex.cloud/en-ru/docs/data-transfer/concepts/data-transformation#append-only-sources.
Deprecated: Use filters instead.

filters[]

string

Data is transported if it satisfies at least one of filters. Consider that there
is OR statement between filters.
Each filter can be comparison operators for numeric, string, and Boolean values,
comparison to NULL, and
checking whether a substring is part of a string.
Details in docs:
https://yandex.cloud/en-ru/docs/data-transfer/concepts/data-transformation#append-only-sources.

DataObjectsDataObjects

Field

Description

includeObjects[]

string

Была ли статья полезна?

Предыдущая
List
Следующая
Deactivate
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»