Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Доступны в регионе
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • ИИ для бизнеса
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Партнёрская программа
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»
Terraform в Yandex Cloud
  • Начало работы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • mdb_kafka_cluster
          • mdb_kafka_connector
          • mdb_kafka_topic
          • mdb_kafka_user

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

  • Example usage
  • Schema
  • Required
  • Read-Only
  • Nested Schema for connector_config_mirrormaker
  • Nested Schema for connector_config_mirrormaker.source_cluster
  • Nested Schema for connector_config_mirrormaker.source_cluster.external_cluster
  • Nested Schema for connector_config_mirrormaker.source_cluster.this_cluster
  • Nested Schema for connector_config_mirrormaker.target_cluster
  • Nested Schema for connector_config_mirrormaker.target_cluster.external_cluster
  • Nested Schema for connector_config_mirrormaker.target_cluster.this_cluster
  • Nested Schema for connector_config_s3_sink
  • Nested Schema for connector_config_s3_sink.s3_connection
  • Nested Schema for connector_config_s3_sink.s3_connection.external_s3
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Managed Service for Apache Kafka
  4. Data Sources
  5. mdb_kafka_connector

yandex_mdb_kafka_connector (Data Source)

Статья создана
Yandex Cloud
Обновлена 7 августа 2025 г.
  • Example usage
  • Schema
    • Required
    • Read-Only
    • Nested Schema for connector_config_mirrormaker
    • Nested Schema for connector_config_mirrormaker.source_cluster
    • Nested Schema for connector_config_mirrormaker.source_cluster.external_cluster
    • Nested Schema for connector_config_mirrormaker.source_cluster.this_cluster
    • Nested Schema for connector_config_mirrormaker.target_cluster
    • Nested Schema for connector_config_mirrormaker.target_cluster.external_cluster
    • Nested Schema for connector_config_mirrormaker.target_cluster.this_cluster
    • Nested Schema for connector_config_s3_sink
    • Nested Schema for connector_config_s3_sink.s3_connection
    • Nested Schema for connector_config_s3_sink.s3_connection.external_s3

Get information about a connector of the Yandex Managed Kafka cluster. For more information, see the official documentation.

Example usageExample usage

//
// Get information about existing MDB Kafka Connector.
//
data "yandex_mdb_kafka_connector" "foo" {
  cluster_id = "some_cluster_id"
  name       = "test"
}

output "tasks_max" {
  value = data.yandex_mdb_kafka_connector.foo.tasks_max
}

SchemaSchema

RequiredRequired

  • cluster_id (String) The ID of the Kafka cluster.
  • name (String) The resource name.

Read-OnlyRead-Only

  • connector_config_mirrormaker (List of Object) Settings for MirrorMaker2 connector. (see below for nested schema)
  • connector_config_s3_sink (List of Object) Settings for S3 Sink connector. (see below for nested schema)
  • id (String) The ID of this resource.
  • properties (Map of String) Additional properties for connector.
  • tasks_max (Number) The number of the connector's parallel working tasks. Default is the number of brokers.

Nested Schema for Nested Schema for connector_config_mirrormaker

Read-Only:

  • replication_factor (Number) Replication factor for topics created in target cluster.

  • source_cluster (Block List, Min: 1, Max: 1) Settings for source cluster. (see below for nested schema)

  • target_cluster (Block List, Min: 1, Max: 1) Settings for target cluster. (see below for nested schema)

  • topics (String) The pattern for topic names to be replicated.

Nested Schema for Nested Schema for connector_config_mirrormaker.source_cluster

Read-Only:

  • alias (String) Name of the cluster. Used also as a topic prefix.

  • external_cluster (Block List) Connection settings for external cluster. (see below for nested schema)

  • this_cluster (Block List) Using this section in the cluster definition (source or target) means it's this cluster. (see below for nested schema)

Nested Schema for Nested Schema for connector_config_mirrormaker.source_cluster.external_cluster

Read-Only:

  • bootstrap_servers (String) List of bootstrap servers to connect to cluster.

  • sasl_mechanism (String) Type of SASL authentification mechanism to use.

  • sasl_password (String) Password to use in SASL authentification mechanism

  • sasl_username (String) Username to use in SASL authentification mechanism.

  • security_protocol (String) Security protocol to use.

Nested Schema for Nested Schema for connector_config_mirrormaker.source_cluster.this_cluster

Read-Only:

Nested Schema for Nested Schema for connector_config_mirrormaker.target_cluster

Read-Only:

  • alias (String) Name of the cluster. Used also as a topic prefix.

  • external_cluster (Block List) Connection settings for external cluster. (see below for nested schema)

  • this_cluster (Block List) Using this section in the cluster definition (source or target) means it's this cluster. (see below for nested schema)

Nested Schema for Nested Schema for connector_config_mirrormaker.target_cluster.external_cluster

Read-Only:

  • bootstrap_servers (String) List of bootstrap servers to connect to cluster.

  • sasl_mechanism (String) Type of SASL authentification mechanism to use.

  • sasl_password (String) Password to use in SASL authentification mechanism

  • sasl_username (String) Username to use in SASL authentification mechanism.

  • security_protocol (String) Security protocol to use.

Nested Schema for Nested Schema for connector_config_mirrormaker.target_cluster.this_cluster

Read-Only:

Nested Schema for Nested Schema for connector_config_s3_sink

Read-Only:

  • file_compression_type (String) Compression type for messages. Cannot be changed.

  • file_max_records (Number) Max records per file.

  • s3_connection (Block List, Min: 1, Max: 1) Settings for connection to s3-compatible storage. (see below for nested schema)

  • topics (String) The pattern for topic names to be copied to s3 bucket.

Nested Schema for Nested Schema for connector_config_s3_sink.s3_connection

Read-Only:

  • bucket_name (String) Name of the bucket in s3-compatible storage.

  • external_s3 (Block List, Min: 1) Connection params for external s3-compatible storage. (see below for nested schema)

Nested Schema for Nested Schema for connector_config_s3_sink.s3_connection.external_s3

Read-Only:

  • access_key_id (String) ID of aws-compatible static key.

  • endpoint (String) URL of s3-compatible storage.

  • region (String) Region of s3-compatible storage. Available region list.

  • secret_access_key (String) Secret key of aws-compatible static key.

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

Предыдущая
mdb_kafka_cluster
Следующая
mdb_kafka_topic
Проект Яндекса
© 2025 ТОО «Облачные Сервисы Казахстан»