Skip to main content
Version: 1.8.0

Deployment

All deploying files at inlong-tubemq-manager directory.

Environment Preparation

  • Install and start MySQL 5.7+
  • Load sql/apache_tube_manager.sql through the command to complete the initialization of the table structure and basic data:
# Create database and table with username and password:
mysql -uDB_USER -pDB_PASSWD < sql/apache_tube_manager.sql

Configuration

  • create tubemanager and account in MySQL.
  • Add mysql information in conf/application.properties:
# mysql configuration for manager
spring.datasource.url=jdbc:mysql://mysql_ip:mysql_port/tubemanager
spring.datasource.username=mysql_username
spring.datasource.password=mysql_password

Dependencies

Start

$ bin/start-manager.sh 

Register TubeMQ cluster

vim bin/init-tube-cluster.sh

replace the parameters below

TUBE_MANAGER_IP=  
TUBE_MANAGER_PORT=
TUBE_MASTER_IP=
TUBE_MASTER_PORT=
TUBE_MASTER_WEB_PORT=
TUBE_MASTER_TOKEN=

then run:

sh bin/init-tube-cluster.sh

this will create a cluster with id = 1, note that this operation should not be executed repeatedly.