Deployment

All deploying files at inlong-dataproxy directory.

Configuration

Configure InLong-Manager URL

configuration file: conf/common.properties:

  1. # manager address
  2. manager.hosts=127.0.0.1:8083
  3. # audit proxy address
  4. audit.proxys=127.0.0.1:10081

run

  1. # Default using Pulsar to cache data, and the dataproxy-pulsar.conf configuration file is loaded.
  2. bash +x bin/dataproxy-start.sh
  3. # or
  4. bash +x bin/dataproxy-start.sh pulsar
  5. # If using Inlong TubeMQ to cache data
  6. # bash +x bin/dataproxy-start.sh tube

check

  1. telnet 127.0.0.1 46801

Add DataProxy configuration to InLong-Manager

After installing the DataProxy, you need to add the IP of the DataProxy service into the InLong-Manager.

Open the Inlong-Dashboard page (the default is http://127.0.0.1), and select to add a DataProxy cluster on the [Clusters] tab:

Deployment - 图1

Click the [Create] button, and fill in the cluster name, cluster label, and responsible person in the pop-up box to save.

Note: [Cluster Tag] is a logical concept. Tags with the same name will be regarded as the same cluster.

For example, the DataProxy cluster and the Pulsar cluster with the same cluster tag belong to the same cluster.

Then add nodes to this DataProxy cluster - a DataProxy cluster can support adding multiple nodes:

Deployment - 图2

Just fill in the IP and port of the DataProxy node.

Deployment - 图3