Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
Yandex Data Transfer
  • Available transfers
  • Getting started
  • Step-by-step guide
    • All instructions
    • Preparing for the transfer
    • Configuring endpoints
      • Endpoint management
      • Configuring source endpoints
      • Configuring target endpoints
        • Apache Kafka®
        • ClickHouse
        • Greenplum®
        • MongoDB
        • MySQL
        • Object Storage
        • PostgreSQL
        • Yandex Managed Service for YDB
    • Managing the transfer process
    • Working with databases during the transfer
    • Monitoring the transfer status
  • Practical guidelines
  • Concepts
  • Troubleshooting
  • Access management
  • Pricing policy
  • API reference
  • Questions and answers
  1. Step-by-step guide
  2. Configuring endpoints
  3. Configuring target endpoints
  4. Apache Kafka®

Configuring a Apache Kafka® target endpoint

Written by
Yandex Cloud
  • Managed Service for Apache Kafka® cluster
  • Custom installation
  • Topic settings Apache Kafka®

When creating or editing an endpoint, you can define:

  • Yandex Managed Service for Apache Kafka® cluster connection or custom installation settings, including those based on Yandex Compute Cloud VMs. These are required parameters.
  • Apache Kafka topic settings.

Managed Service for Apache Kafka® cluster

Connecting to the database with the cluster ID specified in Yandex Cloud. Available only for clusters deployed in Yandex Managed Service for Apache Kafka®.

Management console
  • Managed Kafka: Select the cluster to connect to.

    • Username: Specify the username that Data Transfer will use to connect to the database.

    • Password: Enter the user's password to the database.

Custom installation

Connecting to the database with explicitly specified network addresses.

Management console
  • Broker URI: Specify broker host IPs or FQDNs.

    If the Apache Kafka® port number differs from the standard one, specify it with a colon after the host name:

    <broker host IP or FQDN>:<port number>
    
  • SSL: Use encryption to protect the connection.

  • PEM certificate: If transmitted data needs to be encrypted, for example, to meet the requirements of PCI DSS, upload the certificate file or add its contents as text.

  • Authentication: Select the SASL or Without authentication type.

    If SASL is selected, specify the hashing mechanism and the password and username of the account that Data Transfer will connect to the topic under.

Topic settings Apache Kafka®

Management console
  • Apache Kafka topic settings:

    • Topic full name: Specify the name of the topic to send messages to.

    • Topic prefix: Specify the topic prefix, similar to the Debezium database.server.name setting. Messages will be sent to a topic named <topic_prefix>.<schema>.<table_name>.

Yandex Data Transfer supports CDC for transfers from PostgreSQL, MongoDB, and MySQL databases to Apache Kafka® and Yandex Data Streams. Data is sent to the target in Debezium format. For more information about CDC mode, see Change data capture.

  • Save tx order: Do not split an event stream into independent queues by table. This setting is only compatible with the Topic full name setting.

Was the article helpful?

Language / Region
Yandex project
© 2023 Yandex.Cloud LLC
In this article:
  • Managed Service for Apache Kafka® cluster
  • Custom installation
  • Topic settings Apache Kafka®