Data Transfer API, gRPC: EndpointService.Create
- gRPC request
- CreateEndpointRequest
- EndpointSettings
- MysqlSource
- MysqlConnection
- OnPremiseMysql
- TLSMode
- TLSConfig
- Secret
- MysqlObjectTransferSettings
- PostgresSource
- PostgresConnection
- OnPremisePostgres
- PostgresObjectTransferSettings
- YdbSource
- YDSSource
- Parser
- GenericParserCommon
- DataSchema
- FieldList
- ColSchema
- AuditTrailsV1Parser
- CloudLoggingParser
- KafkaSource
- KafkaConnectionOptions
- OnPremiseKafka
- KafkaAuth
- KafkaSaslSecurity
- NoAuth
- DataTransformationOptions
- MongoSource
- MongoConnection
- MongoConnectionOptions
- OnPremiseMongo
- MongoCollection
- ClickhouseSource
- ClickhouseConnection
- ClickhouseConnectionOptions
- OnPremiseClickhouse
- ClickhouseShard
- MysqlTarget
- PostgresTarget
- ClickhouseTarget
- AltName
- ClickhouseSharding
- ColumnValueHash
- ColumnValueMapping
- ValueToShard
- ColumnValue
- YdbTarget
- KafkaTarget
- KafkaTargetTopicSettings
- KafkaTargetTopic
- Serializer
- SerializerAuto
- SerializerJSON
- SerializerDebezium
- DebeziumSerializerParameter
- MongoTarget
- MetrikaSource
- MetrikaStream
- YDSTarget
- operation.Operation
gRPC request
rpc Create (CreateEndpointRequest) returns (operation.Operation)
CreateEndpointRequest
{
"folder_id": "string",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"settings": {
// Includes only one of the fields `mysql_source`, `postgres_source`, `ydb_source`, `yds_source`, `kafka_source`, `mongo_source`, `clickhouse_source`, `mysql_target`, `postgres_target`, `clickhouse_target`, `ydb_target`, `kafka_target`, `mongo_target`, `metrika_source`, `yds_target`
"mysql_source": {
"connection": {
// Includes only one of the fields `mdb_cluster_id`, `on_premise`
"mdb_cluster_id": "string",
"on_premise": {
"port": "int64",
"subnet_id": "string",
"hosts": [
"string"
],
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
}
// 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",
"object_transfer_settings": {
"view": "ObjectTransferStage",
"routine": "ObjectTransferStage",
"trigger": "ObjectTransferStage",
"tables": "ObjectTransferStage"
},
"include_tables_regex": [
"string"
],
"exclude_tables_regex": [
"string"
],
"security_groups": [
"string"
],
"service_database": "string"
},
"postgres_source": {
"connection": {
// Includes only one of the fields `mdb_cluster_id`, `on_premise`
"mdb_cluster_id": "string",
"on_premise": {
"port": "int64",
"subnet_id": "string",
"hosts": [
"string"
],
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
}
// 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
},
"include_tables": [
"string"
],
"exclude_tables": [
"string"
],
"slot_byte_lag_limit": "int64",
"service_schema": "string",
"object_transfer_settings": {
"sequence": "ObjectTransferStage",
"sequence_owned_by": "ObjectTransferStage",
"table": "ObjectTransferStage",
"primary_key": "ObjectTransferStage",
"fk_constraint": "ObjectTransferStage",
"default_values": "ObjectTransferStage",
"constraint": "ObjectTransferStage",
"index": "ObjectTransferStage",
"view": "ObjectTransferStage",
"function": "ObjectTransferStage",
"trigger": "ObjectTransferStage",
"type": "ObjectTransferStage",
"rule": "ObjectTransferStage",
"collation": "ObjectTransferStage",
"policy": "ObjectTransferStage",
"cast": "ObjectTransferStage",
"materialized_view": "ObjectTransferStage",
"sequence_set": "ObjectTransferStage"
},
"security_groups": [
"string"
]
},
"ydb_source": {
"database": "string",
"instance": "string",
"paths": [
"string"
],
"service_account_id": "string",
"subnet_id": "string",
"sa_key_content": "string",
"security_groups": [
"string"
],
"changefeed_custom_name": "string",
"changefeed_custom_consumer_name": "string"
},
"yds_source": {
"database": "string",
"stream": "string",
"service_account_id": "string",
"supported_codecs": [
"YdsCompressionCodec"
],
"parser": {
// Includes only one of the fields `json_parser`, `audit_trails_v1_parser`, `cloud_logging_parser`, `tskv_parser`
"json_parser": {
"data_schema": {
// Includes only one of the fields `json_fields`, `fields`
"json_fields": "string",
"fields": {
"fields": [
{
"name": "string",
"type": "ColumnType",
"key": "bool",
"required": "bool",
"path": "string"
}
]
}
// end of the list of possible fields
},
"null_keys_allowed": "bool",
"add_rest_column": "bool",
"unescape_string_values": "bool"
},
"audit_trails_v1_parser": "AuditTrailsV1Parser",
"cloud_logging_parser": "CloudLoggingParser",
"tskv_parser": {
"data_schema": {
// Includes only one of the fields `json_fields`, `fields`
"json_fields": "string",
"fields": {
"fields": [
{
"name": "string",
"type": "ColumnType",
"key": "bool",
"required": "bool",
"path": "string"
}
]
}
// end of the list of possible fields
},
"null_keys_allowed": "bool",
"add_rest_column": "bool",
"unescape_string_values": "bool"
}
// end of the list of possible fields
},
"allow_ttl_rewind": "bool",
"endpoint": "string",
"subnet_id": "string",
"security_groups": [
"string"
],
"consumer": "string"
},
"kafka_source": {
"connection": {
// Includes only one of the fields `cluster_id`, `on_premise`
"cluster_id": "string",
"on_premise": {
"broker_urls": [
"string"
],
"subnet_id": "string",
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
}
// end of the list of possible fields
},
"auth": {
// Includes only one of the fields `sasl`, `no_auth`
"sasl": {
"user": "string",
"mechanism": "KafkaMechanism",
"password": {
// Includes only one of the fields `raw`
"raw": "string"
// end of the list of possible fields
}
},
"no_auth": "NoAuth"
// end of the list of possible fields
},
"security_groups": [
"string"
],
"topic_name": "string",
"transformer": {
"cloud_function": "string",
"number_of_retries": "int64",
"buffer_size": "string",
"buffer_flush_interval": "string",
"invocation_timeout": "string",
"service_account_id": "string"
},
"parser": {
// Includes only one of the fields `json_parser`, `audit_trails_v1_parser`, `cloud_logging_parser`, `tskv_parser`
"json_parser": {
"data_schema": {
// Includes only one of the fields `json_fields`, `fields`
"json_fields": "string",
"fields": {
"fields": [
{
"name": "string",
"type": "ColumnType",
"key": "bool",
"required": "bool",
"path": "string"
}
]
}
// end of the list of possible fields
},
"null_keys_allowed": "bool",
"add_rest_column": "bool",
"unescape_string_values": "bool"
},
"audit_trails_v1_parser": "AuditTrailsV1Parser",
"cloud_logging_parser": "CloudLoggingParser",
"tskv_parser": {
"data_schema": {
// Includes only one of the fields `json_fields`, `fields`
"json_fields": "string",
"fields": {
"fields": [
{
"name": "string",
"type": "ColumnType",
"key": "bool",
"required": "bool",
"path": "string"
}
]
}
// end of the list of possible fields
},
"null_keys_allowed": "bool",
"add_rest_column": "bool",
"unescape_string_values": "bool"
}
// end of the list of possible fields
},
"topic_names": [
"string"
]
},
"mongo_source": {
"connection": {
// Includes only one of the fields `connection_options`
"connection_options": {
// Includes only one of the fields `mdb_cluster_id`, `on_premise`
"mdb_cluster_id": "string",
"on_premise": {
"hosts": [
"string"
],
"port": "int64",
"replica_set": "string",
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
},
// 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
},
"auth_source": "string"
}
// end of the list of possible fields
},
"subnet_id": "string",
"collections": [
{
"database_name": "string",
"collection_name": "string"
}
],
"excluded_collections": [
{
"database_name": "string",
"collection_name": "string"
}
],
"secondary_preferred_mode": "bool",
"security_groups": [
"string"
]
},
"clickhouse_source": {
"connection": {
// Includes only one of the fields `connection_options`
"connection_options": {
// Includes only one of the fields `on_premise`, `mdb_cluster_id`
"on_premise": {
"shards": [
{
"name": "string",
"hosts": [
"string"
]
}
],
"http_port": "int64",
"native_port": "int64",
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
},
"mdb_cluster_id": "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
},
"include_tables": [
"string"
],
"exclude_tables": [
"string"
],
"subnet_id": "string",
"security_groups": [
"string"
],
"clickhouse_cluster_name": "string"
},
"mysql_target": {
"connection": {
// Includes only one of the fields `mdb_cluster_id`, `on_premise`
"mdb_cluster_id": "string",
"on_premise": {
"port": "int64",
"subnet_id": "string",
"hosts": [
"string"
],
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
}
// 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
},
"sql_mode": "string",
"skip_constraint_checks": "bool",
"timezone": "string",
"cleanup_policy": "CleanupPolicy",
"service_database": "string",
"security_groups": [
"string"
]
},
"postgres_target": {
"connection": {
// Includes only one of the fields `mdb_cluster_id`, `on_premise`
"mdb_cluster_id": "string",
"on_premise": {
"port": "int64",
"subnet_id": "string",
"hosts": [
"string"
],
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
}
// 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
},
"cleanup_policy": "CleanupPolicy",
"security_groups": [
"string"
]
},
"clickhouse_target": {
"connection": {
// Includes only one of the fields `connection_options`
"connection_options": {
// Includes only one of the fields `on_premise`, `mdb_cluster_id`
"on_premise": {
"shards": [
{
"name": "string",
"hosts": [
"string"
]
}
],
"http_port": "int64",
"native_port": "int64",
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
},
"mdb_cluster_id": "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
},
"subnet_id": "string",
"alt_names": [
{
"from_name": "string",
"to_name": "string"
}
],
"cleanup_policy": "ClickhouseCleanupPolicy",
"sharding": {
// Includes only one of the fields `column_value_hash`, `custom_mapping`, `transfer_id`, `round_robin`
"column_value_hash": {
"column_name": "string"
},
"custom_mapping": {
"column_name": "string",
"mapping": [
{
"column_value": {
// Includes only one of the fields `string_value`
"string_value": "string"
// end of the list of possible fields
},
"shard_name": "string"
}
]
},
"transfer_id": "google.protobuf.Empty",
"round_robin": "google.protobuf.Empty"
// end of the list of possible fields
},
"clickhouse_cluster_name": "string",
"security_groups": [
"string"
]
},
"ydb_target": {
"database": "string",
"instance": "string",
"path": "string",
"service_account_id": "string",
"cleanup_policy": "YdbCleanupPolicy",
"subnet_id": "string",
"sa_key_content": "string",
"security_groups": [
"string"
],
"is_table_column_oriented": "bool",
"default_compression": "YdbDefaultCompression"
},
"kafka_target": {
"connection": {
// Includes only one of the fields `cluster_id`, `on_premise`
"cluster_id": "string",
"on_premise": {
"broker_urls": [
"string"
],
"subnet_id": "string",
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
}
// end of the list of possible fields
},
"auth": {
// Includes only one of the fields `sasl`, `no_auth`
"sasl": {
"user": "string",
"mechanism": "KafkaMechanism",
"password": {
// Includes only one of the fields `raw`
"raw": "string"
// end of the list of possible fields
}
},
"no_auth": "NoAuth"
// end of the list of possible fields
},
"security_groups": [
"string"
],
"topic_settings": {
// Includes only one of the fields `topic`, `topic_prefix`
"topic": {
"topic_name": "string",
"save_tx_order": "bool"
},
"topic_prefix": "string"
// end of the list of possible fields
},
"serializer": {
// Includes only one of the fields `serializer_auto`, `serializer_json`, `serializer_debezium`
"serializer_auto": "SerializerAuto",
"serializer_json": "SerializerJSON",
"serializer_debezium": {
"serializer_parameters": [
{
"key": "string",
"value": "string"
}
]
}
// end of the list of possible fields
}
},
"mongo_target": {
"connection": {
// Includes only one of the fields `connection_options`
"connection_options": {
// Includes only one of the fields `mdb_cluster_id`, `on_premise`
"mdb_cluster_id": "string",
"on_premise": {
"hosts": [
"string"
],
"port": "int64",
"replica_set": "string",
"tls_mode": {
// Includes only one of the fields `disabled`, `enabled`
"disabled": "google.protobuf.Empty",
"enabled": {
"ca_certificate": "string"
}
// end of the list of possible fields
}
},
// 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
},
"auth_source": "string"
}
// end of the list of possible fields
},
"database": "string",
"cleanup_policy": "CleanupPolicy",
"subnet_id": "string",
"security_groups": [
"string"
]
},
"metrika_source": {
"counter_ids": [
"int64"
],
"token": {
// Includes only one of the fields `raw`
"raw": "string"
// end of the list of possible fields
},
"streams": [
{
"type": "MetrikaStreamType",
"columns": [
"string"
]
}
]
},
"yds_target": {
"database": "string",
"stream": "string",
"service_account_id": "string",
"save_tx_order": "bool",
"compression_codec": "YdsCompressionCodec",
"serializer": {
// Includes only one of the fields `serializer_auto`, `serializer_json`, `serializer_debezium`
"serializer_auto": "SerializerAuto",
"serializer_json": "SerializerJSON",
"serializer_debezium": {
"serializer_parameters": [
{
"key": "string",
"value": "string"
}
]
}
// end of the list of possible fields
},
"endpoint": "string",
"subnet_id": "string",
"security_groups": [
"string"
]
}
// end of the list of possible fields
}
}
Field |
Description |
folder_id |
string |
name |
string |
description |
string |
labels |
object (map<string, string>) |
settings |
EndpointSettings
Field |
Description |
mysql_source |
Includes only one of the fields |
postgres_source |
Includes only one of the fields |
ydb_source |
Includes only one of the fields |
yds_source |
Includes only one of the fields |
kafka_source |
Includes only one of the fields |
mongo_source |
Includes only one of the fields |
clickhouse_source |
Includes only one of the fields |
mysql_target |
Includes only one of the fields |
postgres_target |
Includes only one of the fields |
clickhouse_target |
Includes only one of the fields |
ydb_target |
Includes only one of the fields |
kafka_target |
Includes only one of the fields |
mongo_target |
Includes only one of the fields |
metrika_source |
Includes only one of the fields |
yds_target |
Includes only one of the fields |
MysqlSource
Field |
Description |
connection |
Database connection settings |
database |
string Database name You can leave it empty, then it will be possible to transfer tables from several |
user |
string User for database access. not required as may be in connection |
password |
Password for database access. |
timezone |
string Database timezone Is used for parsing timestamps for saving source timezones. Accepts values from |
object_transfer_settings |
Schema migration Select database objects to be transferred during activation or deactivation. |
include_tables_regex[] |
string |
exclude_tables_regex[] |
string |
security_groups[] |
string Security groups |
service_database |
string Database for service tables Default: data source database. Here created technical tables (__tm_keeper, |
MysqlConnection
Field |
Description |
mdb_cluster_id |
string Managed Service for MySQL cluster ID Includes only one of the fields |
on_premise |
Connection options for on-premise MySQL Includes only one of the fields |
OnPremiseMysql
Field |
Description |
port |
int64 Database port |
subnet_id |
string Network interface for endpoint. If none will assume public ipv4 |
hosts[] |
string |
tls_mode |
TLS settings for server connection. Disabled by default. |
TLSMode
Field |
Description |
disabled |
Includes only one of the fields |
enabled |
Includes only one of the fields |
TLSConfig
Field |
Description |
ca_certificate |
string CA certificate X.509 certificate of the certificate authority which issued the server's |
Secret
Field |
Description |
raw |
string Raw secret value Includes only one of the fields |
MysqlObjectTransferSettings
Field |
Description |
view |
enum ObjectTransferStage Views CREATE VIEW ...
|
routine |
enum ObjectTransferStage Routines CREATE PROCEDURE ... ; CREATE FUNCTION ... ;
|
trigger |
enum ObjectTransferStage Triggers CREATE TRIGGER ...
|
tables |
enum ObjectTransferStage
|
PostgresSource
Field |
Description |
connection |
Database connection settings |
database |
string Database name |
user |
string User for database access. not required as may be in connection |
password |
Password for database access. |
include_tables[] |
string Included tables If none or empty list is presented, all tables are replicated. Full table name |
exclude_tables[] |
string Excluded tables If none or empty list is presented, all tables are replicated. Full table name |
slot_byte_lag_limit |
int64 Maximum lag of replication slot (in bytes); after exceeding this limit |
service_schema |
string Database schema for service tables (__consumer_keeper, |
object_transfer_settings |
PostgresObjectTransferSettings Select database objects to be transferred during activation or deactivation. |
security_groups[] |
string Security groups |
PostgresConnection
Field |
Description |
mdb_cluster_id |
string Managed Service for PostgreSQL cluster ID Includes only one of the fields |
on_premise |
Connection options for on-premise PostgreSQL Includes only one of the fields |
OnPremisePostgres
Field |
Description |
port |
int64 Will be used if the cluster ID is not specified. |
subnet_id |
string Network interface for endpoint. If none will assume public ipv4 |
hosts[] |
string |
tls_mode |
TLS settings for server connection. Disabled by default. |
PostgresObjectTransferSettings
Field |
Description |
sequence |
enum ObjectTransferStage Sequences CREATE SEQUENCE ...
|
sequence_owned_by |
enum ObjectTransferStage Owned sequences CREATE SEQUENCE ... OWNED BY ...
|
table |
enum ObjectTransferStage Tables CREATE TABLE ...
|
primary_key |
enum ObjectTransferStage Primary keys ALTER TABLE ... ADD PRIMARY KEY ...
|
fk_constraint |
enum ObjectTransferStage Foreign keys ALTER TABLE ... ADD FOREIGN KEY ...
|
default_values |
enum ObjectTransferStage Default values ALTER TABLE ... ALTER COLUMN ... SET DEFAULT ...
|
constraint |
enum ObjectTransferStage Constraints ALTER TABLE ... ADD CONSTRAINT ...
|
index |
enum ObjectTransferStage Indexes CREATE INDEX ...
|
view |
enum ObjectTransferStage Views CREATE VIEW ...
|
function |
enum ObjectTransferStage Functions CREATE FUNCTION ...
|
trigger |
enum ObjectTransferStage Triggers CREATE TRIGGER ...
|
type |
enum ObjectTransferStage Types CREATE TYPE ...
|
rule |
enum ObjectTransferStage Rules CREATE RULE ...
|
collation |
enum ObjectTransferStage Collations CREATE COLLATION ...
|
policy |
enum ObjectTransferStage Policies CREATE POLICY ...
|
cast |
enum ObjectTransferStage Casts CREATE CAST ...
|
materialized_view |
enum ObjectTransferStage Materialized views CREATE MATERIALIZED VIEW ...
|
sequence_set |
enum ObjectTransferStage
|
YdbSource
Field |
Description |
database |
string Path in YDB where to store tables |
instance |
string Instance of YDB. example: ydb-ru-prestable.yandex.net:2135 |
paths[] |
string |
service_account_id |
string |
subnet_id |
string Network interface for endpoint. If none will assume public ipv4 |
sa_key_content |
string Authorization Key |
security_groups[] |
string Security groups |
changefeed_custom_name |
string Pre-created change feed |
changefeed_custom_consumer_name |
string |
YDSSource
Field |
Description |
database |
string Database |
stream |
string Stream |
service_account_id |
string SA which has read access to the stream. |
supported_codecs[] |
enum YdsCompressionCodec Compression codec
|
parser |
Data parsing rules |
allow_ttl_rewind |
bool Should continue working, if consumer read lag exceed TTL of topic |
endpoint |
string for dedicated db |
subnet_id |
string Network interface for endpoint. If none will assume public ipv4 |
security_groups[] |
string Security groups |
consumer |
string for important streams |
Parser
Field |
Description |
json_parser |
Includes only one of the fields |
audit_trails_v1_parser |
Includes only one of the fields |
cloud_logging_parser |
Includes only one of the fields |
tskv_parser |
Includes only one of the fields |
GenericParserCommon
Field |
Description |
data_schema |
|
null_keys_allowed |
bool Allow null keys, if no - null keys will be putted to unparsed data |
add_rest_column |
bool Will add _rest column for all unknown fields |
unescape_string_values |
bool Unescape string values |
DataSchema
Field |
Description |
json_fields |
string Includes only one of the fields |
fields |
Includes only one of the fields |
FieldList
Field |
Description |
fields[] |
Column schema |
ColSchema
Field |
Description |
name |
string |
type |
enum ColumnType
|
key |
bool |
required |
bool |
path |
string |
AuditTrailsV1Parser
Field |
Description |
Empty |
CloudLoggingParser
Field |
Description |
Empty |
KafkaSource
Field |
Description |
connection |
Connection settings |
auth |
Authentication settings |
security_groups[] |
string Security groups |
topic_name |
string Full source topic name |
transformer |
Data transformation rules |
parser |
Data parsing rules |
topic_names[] |
string List of topic names to read |
KafkaConnectionOptions
Field |
Description |
cluster_id |
string Managed Service for Kafka cluster ID Includes only one of the fields |
on_premise |
Connection options for on-premise Kafka Includes only one of the fields |
OnPremiseKafka
Field |
Description |
broker_urls[] |
string Kafka broker URLs |
subnet_id |
string Network interface for endpoint. If none will assume public ipv4 |
tls_mode |
TLS settings for broker connection. Disabled by default. |
KafkaAuth
Field |
Description |
sasl |
Authentication with SASL Includes only one of the fields |
no_auth |
No authentication Includes only one of the fields |
KafkaSaslSecurity
Field |
Description |
user |
string User name |
mechanism |
enum KafkaMechanism SASL mechanism for authentication
|
password |
Password for user |
NoAuth
No authentication
Field |
Description |
Empty |
DataTransformationOptions
Field |
Description |
cloud_function |
string Cloud function |
number_of_retries |
int64 Number of retries |
buffer_size |
string Buffer size for function |
buffer_flush_interval |
string Flush interval |
invocation_timeout |
string Invocation timeout |
service_account_id |
string Service account |
MongoSource
Field |
Description |
connection |
|
subnet_id |
string |
collections[] |
List of collections for replication. Empty list implies replication of all |
excluded_collections[] |
List of forbidden collections for replication. Allowed to use * as collection |
secondary_preferred_mode |
bool Read mode for mongo client |
security_groups[] |
string Security groups |
MongoConnection
Field |
Description |
connection_options |
Includes only one of the fields |
MongoConnectionOptions
Field |
Description |
mdb_cluster_id |
string Includes only one of the fields |
on_premise |
Includes only one of the fields |
user |
string User name |
password |
Password for user |
auth_source |
string Database name associated with the credentials |
OnPremiseMongo
Field |
Description |
hosts[] |
string |
port |
int64 |
replica_set |
string |
tls_mode |
MongoCollection
Field |
Description |
database_name |
string |
collection_name |
string |
ClickhouseSource
Field |
Description |
connection |
|
include_tables[] |
string White list of tables for replication. If none or empty list is presented - will |
exclude_tables[] |
string Exclude list of tables for replication. If none or empty list is presented - |
subnet_id |
string |
security_groups[] |
string |
clickhouse_cluster_name |
string Name of the ClickHouse cluster. For Managed ClickHouse that is name of |
ClickhouseConnection
Field |
Description |
connection_options |
Includes only one of the fields |
ClickhouseConnectionOptions
Field |
Description |
on_premise |
Includes only one of the fields |
mdb_cluster_id |
string Includes only one of the fields |
user |
string |
password |
|
database |
string Database |
OnPremiseClickhouse
Field |
Description |
shards[] |
|
http_port |
int64 |
native_port |
int64 |
tls_mode |
ClickhouseShard
Field |
Description |
name |
string |
hosts[] |
string |
MysqlTarget
Field |
Description |
connection |
Database connection settings |
database |
string Database name Allowed to leave it empty, then the tables will be created in databases with the |
user |
string User for database access. not required as may be in connection |
password |
Password for database access. |
sql_mode |
string Default: NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION. |
skip_constraint_checks |
bool Disable constraints checks Recommend to disable for increase replication speed, but if schema contain |
timezone |
string Database timezone Is used for parsing timestamps for saving source timezones. Accepts values from |
cleanup_policy |
enum CleanupPolicy Cleanup policy Cleanup policy for activate, reactivate and reupload processes. Default is
|
service_database |
string Database schema for service table Default: db name. Here created technical tables (__tm_keeper, __tm_gtid_keeper). |
security_groups[] |
string Security groups |
PostgresTarget
Field |
Description |
connection |
Database connection settings |
database |
string Database name |
user |
string User for database access. not required as may be in connection |
password |
Password for database access. |
cleanup_policy |
enum CleanupPolicy Cleanup policy for activate, reactivate and reupload processes. Default is
|
security_groups[] |
string Security groups |
ClickhouseTarget
Field |
Description |
connection |
|
subnet_id |
string |
alt_names[] |
Alternative table names in target |
cleanup_policy |
enum ClickhouseCleanupPolicy
|
sharding |
|
clickhouse_cluster_name |
string Name of the ClickHouse cluster. For Managed ClickHouse that is name of |
security_groups[] |
string |
AltName
Field |
Description |
from_name |
string Source table name |
to_name |
string Target table name |
ClickhouseSharding
Field |
Description |
column_value_hash |
Includes only one of the fields |
custom_mapping |
Includes only one of the fields |
transfer_id |
Includes only one of the fields |
round_robin |
Includes only one of the fields |
ColumnValueHash
Field |
Description |
column_name |
string |
ColumnValueMapping
Field |
Description |
column_name |
string |
mapping[] |
ValueToShard
Field |
Description |
column_value |
|
shard_name |
string |
ColumnValue
Field |
Description |
string_value |
string Includes only one of the fields |
YdbTarget
Field |
Description |
database |
string Path in YDB where to store tables |
instance |
string Instance of YDB. example: ydb-ru-prestable.yandex.net:2135 |
path |
string Path extension for database, each table will be layouted into this path |
service_account_id |
string |
cleanup_policy |
enum YdbCleanupPolicy Cleanup policy
|
subnet_id |
string Network interface for endpoint. If none will assume public ipv4 |
sa_key_content |
string SA content |
security_groups[] |
string Security groups |
is_table_column_oriented |
bool Should create column-oriented table (OLAP). By default it creates row-oriented |
default_compression |
enum YdbDefaultCompression Compression that will be used for default columns family on YDB table creation
|
KafkaTarget
Field |
Description |
connection |
Connection settings |
auth |
Authentication settings |
security_groups[] |
string Security groups |
topic_settings |
Target topic settings |
serializer |
Data serialization format settings |
KafkaTargetTopicSettings
Field |
Description |
topic |
Full topic name Includes only one of the fields |
topic_prefix |
string Topic prefix Analogue of the Debezium setting database.server.name. Includes only one of the fields |
KafkaTargetTopic
Field |
Description |
topic_name |
string Topic name |
save_tx_order |
bool Save transactions order |
Serializer
Data serialization format
Field |
Description |
serializer_auto |
Select the serialization format automatically Includes only one of the fields |
serializer_json |
Serialize data in json format Includes only one of the fields |
serializer_debezium |
Serialize data in debezium format Includes only one of the fields |
SerializerAuto
Field |
Description |
Empty |
SerializerJSON
Field |
Description |
Empty |
SerializerDebezium
Field |
Description |
serializer_parameters[] |
Settings of sterilization parameters as key-value pairs |
DebeziumSerializerParameter
Field |
Description |
key |
string Name of the serializer parameter |
value |
string Value of the serializer parameter |
MongoTarget
Field |
Description |
connection |
|
database |
string Database name |
cleanup_policy |
enum CleanupPolicy
|
subnet_id |
string |
security_groups[] |
string Security groups |
MetrikaSource
Field |
Description |
counter_ids[] |
int64 |
token |
|
streams[] |
MetrikaStream
Field |
Description |
type |
enum MetrikaStreamType
|
columns[] |
string |
YDSTarget
Field |
Description |
database |
string Database |
stream |
string Stream |
service_account_id |
string SA which has read access to the stream. |
save_tx_order |
bool Save transaction order |
compression_codec |
enum YdsCompressionCodec
|
serializer |
Data serialization format |
endpoint |
string for dedicated db |
subnet_id |
string Network interface for endpoint. If none will assume public ipv4 |
security_groups[] |
string Security groups |
operation.Operation
{
"id": "string",
"description": "string",
"created_at": "google.protobuf.Timestamp",
"created_by": "string",
"modified_at": "google.protobuf.Timestamp",
"done": "bool",
"metadata": "google.protobuf.Any",
// Includes only one of the fields `error`, `response`
"error": "google.rpc.Status",
"response": "google.protobuf.Any"
// end of the list of possible fields
}
An Operation resource. For more information, see Operation.
Field |
Description |
id |
string ID of the operation. |
description |
string Description of the operation. 0-256 characters long. |
created_at |
Creation timestamp. |
created_by |
string ID of the user or service account who initiated the operation. |
modified_at |
The time when the Operation resource was last modified. |
done |
bool If the value is |
metadata |
Service-specific metadata associated with the operation. |
error |
The error result of the operation in case of failure or cancellation. Includes only one of the fields The operation result. |
response |
The normal response of the operation in case of success. Includes only one of the fields The operation result. |