Standalone

Environment Requirements

Prepare Message Queue

InLong Support the following Message Queue services now, you can choose one of them.

Download the Binary Package

You can get binary package from Download Page ,or you can build the InLong refer to How to Build.

Standalone - 图1note

Extract apache-inlong-[version]-bin.tar.gz and apache-inlong-[version]-sort-connectors.tar.gz, and make sure the inlong-sort/connectors/ directory contains sort-connector-[type]-[version].jar.

DB Dependencies

  1. inlong-agent/lib/
  2. inlong-audit/lib/
  3. inlong-manager/lib/
  4. inlong-tubemq-manager/lib/
  • If the backend database is PostgreSQL, there’s no need for additional dependencies.

Configure

In conf/inlong.conf, configure the parameters according to the actual situation, mainly include:

  1. # local IP
  2. local_ip=
  3. # message queue: pulsar or kafka
  4. mq_type=pulsar
  5. # Configure Database, requires MySQL
  6. spring_datasource_hostname=
  7. spring_datasource_port=3306
  8. spring_datasource_username=root
  9. spring_datasource_password=inlong
  10. # the REST server address for Flink
  11. flink_rest_address=
  12. # the REST server Port for Flink
  13. flink_rest_port=8081

Start

  1. bin/inlong-daemon start standalone

Cluster Initialize

When all containers are successfully started, you can access the Inlong dashboard address http://localhost, and use the following default account to log in:

  1. User: admin
  2. Password: inlong

Create Cluster Tag

Click [Clusters]->[ClusterTags]->[Create] on the page to specify the cluster label name and person in charge: Standalone - 图2

Standalone - 图3caution

Since each component reports the ClusterTags as default_cluster by default, do not use other names.

Register Message Queue Cluster

  • Option 1 : Apache Pulsar Click [Clusters]->[Clusters]->[Create] on the page to register Pulsar Cluster: Standalone - 图4

  • Option 2 : Apache Kafka Click [Clusters]->[Clusters]->[Create] on the page to register Kafka Cluster: Standalone - 图5

Standalone - 图6note

The ClusterTags selects the newly created default_cluster, and then configuring the Message Queue cluster info.

Use

You can refer to Example to create a Data Stream.