Add a Kafka data source

更新时间:
复制 MD 格式

Add a Message Queue for Apache Kafka instance as a data source in Lindorm Tunnel Service (LTS) to enable data ingestion into your Lindorm instance.

Prerequisites

Before you begin, make sure you have:

  • Logged on to the LTS web UI of your ApsaraDB for Lindorm instance. For details, see Activate and log on to LTS.

  • A Message Queue for Apache Kafka instance deployed in the same virtual private cloud (VPC) as your Lindorm instance.

Add a Kafka data source

  1. In the left-side navigation pane of the LTS web UI, choose Data Source Management > Add Data Source.

  2. On the Add data source page, configure the following parameters.

    ParameterDescription
    NameA name for the data source. The name can consist of letters and digits.
    Data Source TypeSelect KAFKA.
    ParametersThe connection configuration in JSON format. See the parameter details below.

    Parameters field format:

    {bootstrap.servers:"server1:port1,server2:port2"}
    PropertyFormatDescription
    bootstrap.serversendpoint:port (comma-separated for multiple brokers)The endpoint of your Message Queue for Apache Kafka instance. Use the default endpoint shown on the instance details page.
    Note The Message Queue for Apache Kafka instance must be in the same VPC as your Lindorm instance.
  3. Click Add.