You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/02/16 05:18:41 UTC

[GitHub] [incubator-inlong-website] crancchen opened a new pull request #282: [INLONG-1234] update deployment standalone.md

crancchen opened a new pull request #282:
URL: https://github.com/apache/incubator-inlong-website/pull/282


   Fixes #1234
   
   where *XYZ* should be replaced by the actual issue number.
   
   ### Motivation
   
   *Explain here the context, and why you're making that change. What is the problem you're trying to solve.*
   
   ### Modifications
   
   *Describe the modifications you've done.*
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   *(Please pick either of the following options)*
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This change is already covered by existing tests, such as *(please describe tests)*.
   
   *(or)*
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - *Added integration tests for end-to-end deployment with large payloads (10MB)*
     - *Extended integration test for recovery after broker failure*
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (yes / no)
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
     - If a feature is not applicable for documentation, explain why?
     - If a feature is not documented yet in this PR, please create a followup issue for adding the documentation
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-inlong-website] dockerzhang commented on a change in pull request #282: [INLONG-1234] update deployment standalone.md

Posted by GitBox <gi...@apache.org>.
dockerzhang commented on a change in pull request #282:
URL: https://github.com/apache/incubator-inlong-website/pull/282#discussion_r807575747



##########
File path: docs/deployment/standalone.md
##########
@@ -12,41 +12,154 @@ sidebar_position: 1
 
 ##  Configure 
 
-Add relevant global configuration parameters to the conf file in conf/standalone.conf, 
-and initialize inlong global configuration parameters of each component:
+In conf/inlong.conf, replace the relevant global configuration parameters according to the actual situation:

Review comment:
       ```suggestion
   In `conf/inlong.conf`, replace the relevant global configuration parameters according to the actual situation:
   ```

##########
File path: i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/standalone.md
##########
@@ -13,40 +13,153 @@ sidebar_position: 1
 
 ##  配置
 
-在conf/standalone.conf文件中添加相关全局配置参数,然后一键初始化inlong各组件全局配置参数
+在conf/inlong.conf文件中根据实际情况替换相关全局配置参数:

Review comment:
       ```suggestion
   在`conf/inlong.conf`文件中根据实际情况替换相关全局配置参数:
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-inlong-website] aloyszhang merged pull request #282: [INLONG-1234] update deployment standalone.md

Posted by GitBox <gi...@apache.org>.
aloyszhang merged pull request #282:
URL: https://github.com/apache/incubator-inlong-website/pull/282


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-inlong-website] dockerzhang commented on a change in pull request #282: [INLONG-1234] update deployment standalone.md

Posted by GitBox <gi...@apache.org>.
dockerzhang commented on a change in pull request #282:
URL: https://github.com/apache/incubator-inlong-website/pull/282#discussion_r807577701



##########
File path: i18n/zh-CN/docusaurus-plugin-content-docs/current/deployment/standalone.md
##########
@@ -13,40 +13,153 @@ sidebar_position: 1
 
 ##  配置
 
-在conf/standalone.conf文件中添加相关全局配置参数,然后一键初始化inlong各组件全局配置参数
+在`conf/inlong.conf`文件中根据实际情况替换相关全局配置参数:
+```
+###############################################################################
+# Selection of message queue source: tubemq or pulsar
+source_type=tubemq
+# Selection of sort sink: hive or clickhouse
+sink_type=hive
+###############################################################################
 
-```shell
-bin/init-config.sh 
+# agent
+###############################################################################
+agent_local_ip=127.0.0.1
+# whether to enable prometheus
+agent_prometheus_enable=false
+# whether to enable audit
+agent_audit_enable=true
+###############################################################################
+
+# dataproxy
+###############################################################################
+dataproxy_ip=127.0.0.1
+###############################################################################
+
+# audit proxy
+###############################################################################
+audit_proxys_ip=127.0.0.1
+###############################################################################
+
+###############################################################################
+# mysql(Required) (tubemanager,apache_inlong_manager,apache_inlong_audit)
+###############################################################################
+# MySQL service, IP, port, user and password
+spring_datasource_hostname=MYSQL_HOSTNAME
+spring_datasource_port=MYSQL_PORT
+spring_datasource_username=MYSQL_USERNAME
+spring_datasource_password=MYSQL_PASSWORD
+###############################################################################
+
+# zookeeper(Required)
+###############################################################################
+# zookeeper address
+zkserver_addr=127.0.0.1:2181
+###############################################################################
+
+# tubemq (Optional)
+###############################################################################
+# master
+# host address of master, required; must be configured at network card, enabled
+tubemaster_hostname=YOU_LOCAL_IP
+# port that master listens to, optional; default is 8715
+tubemaster_port=8715
+# port that master web console listens to
+tubemaster_webport=8080
+# metaDataPath
+metadata_path=/stage/meta_data
+# This token is used for page configuration, API call, etc
+confmod_authtoken=abc
+
+# broker
+# unique id of broker server, required; when set to 0, TubeMQ will retrieve
+# IP, convert to int and set as brokerID
+broker_id=1
+# hostname of broker server, required
+tubebroker_hostname=YOU_LOCAL_IP
+# port that broker server listens to, optional; default is 8123
+tubebroker_port=8123
+# port that broker web console listens to
+tubebroker_webport=8081
+# path to message files
+primary_path=/stage/msg_data
+
+# manager(Required)
+# the parameters for init cluster
+tube_manager_ip=YOU_LOCAL_IP
+tube_manager_port=8089
+###############################################################################
+
+# pulsar (Optional)
+###############################################################################
+# Service address of pulsar (Required)
+pulsar_admin_url=http://127.0.0.1:8080
+# Pulsar broker address(Required)
+pulsar_service_url=pulsar://127.0.0.1:6650
+# Default tenant of Pulsar
+pulsar_default_tenant=public
+###############################################################################
+
+# inlong manager
+###############################################################################
+# manager-web (Required)
+manager_server_hostname=127.0.0.1
+manager_server_port=8083
+# The default configuration file is dev
+spring_profiles_active=dev
+cluster_zk_root=inlong_hive
+# app_name-InLong Sort is cluster-id
+sort_app_name=inlong_app
+###############################################################################
+
+# inlong website(Required)
+###############################################################################
+# port
+inlong_web_port=80
+# docker port
+docker_inlong_web_port=80
+###############################################################################
+
+# local_ip(Required)
+###############################################################################
+local_ip=YOU_LOCAL_IP
+###############################################################################
 ```
 
 ## 启动
 
 ```shell
-bin/inlong-daemon.sh start standalone
+bin/inlong-daemon start standalone
 ```
 
 ## 停止
 
 ```shell
-bin/inlong-daemon.sh stop standalone
+bin/inlong-daemon stop standalone
 ```
 
 ## 检查
 
-启动脚本完成后,jps查看是否都有如下进程:
+启动脚本完成后,jps -l 查看是否都有如下进程:

Review comment:
       ```suggestion
   启动脚本完成后,`jps -l` 查看是否都有如下进程:
   ```

##########
File path: docs/deployment/standalone.md
##########
@@ -12,41 +12,154 @@ sidebar_position: 1
 
 ##  Configure 
 
-Add relevant global configuration parameters to the conf file in conf/standalone.conf, 
-and initialize inlong global configuration parameters of each component:
+In `conf/inlong.conf`, replace the relevant global configuration parameters according to the actual situation:
 
-```shell
-bin/init-config.sh 
+```
+###############################################################################
+# Selection of message queue source: tubemq or pulsar
+source_type=tubemq
+# Selection of sort sink: hive or clickhouse
+sink_type=hive
+###############################################################################
+
+# agent
+###############################################################################
+agent_local_ip=127.0.0.1
+# whether to enable prometheus
+agent_prometheus_enable=false
+# whether to enable audit
+agent_audit_enable=true
+###############################################################################
+
+# dataproxy
+###############################################################################
+dataproxy_ip=127.0.0.1
+###############################################################################
+
+# audit proxy
+###############################################################################
+audit_proxys_ip=127.0.0.1
+###############################################################################
+
+###############################################################################
+# mysql(Required) (tubemanager,apache_inlong_manager,apache_inlong_audit)
+###############################################################################
+# MySQL service, IP, port, user and password
+spring_datasource_hostname=MYSQL_HOSTNAME
+spring_datasource_port=MYSQL_PORT
+spring_datasource_username=MYSQL_USERNAME
+spring_datasource_password=MYSQL_PASSWORD
+###############################################################################
+
+# zookeeper(Required)
+###############################################################################
+# zookeeper address
+zkserver_addr=127.0.0.1:2181
+###############################################################################
+
+# tubemq (Optional)
+###############################################################################
+# master
+# host address of master, required; must be configured at network card, enabled
+tubemaster_hostname=YOU_LOCAL_IP
+# port that master listens to, optional; default is 8715
+tubemaster_port=8715
+# port that master web console listens to
+tubemaster_webport=8080
+# metaDataPath
+metadata_path=/stage/meta_data
+# This token is used for page configuration, API call, etc
+confmod_authtoken=abc
+
+# broker
+# unique id of broker server, required; when set to 0, TubeMQ will retrieve
+# IP, convert to int and set as brokerID
+broker_id=1
+# hostname of broker server, required
+tubebroker_hostname=YOU_LOCAL_IP
+# port that broker server listens to, optional; default is 8123
+tubebroker_port=8123
+# port that broker web console listens to
+tubebroker_webport=8081
+# path to message files
+primary_path=/stage/msg_data
+
+# manager(Required)
+# the parameters for init cluster
+tube_manager_ip=YOU_LOCAL_IP
+tube_manager_port=8089
+###############################################################################
+
+# pulsar (Optional)
+###############################################################################
+# Service address of pulsar (Required)
+pulsar_admin_url=http://127.0.0.1:8080
+# Pulsar broker address(Required)
+pulsar_service_url=pulsar://127.0.0.1:6650
+# Default tenant of Pulsar
+pulsar_default_tenant=public
+###############################################################################
+
+# inlong manager
+###############################################################################
+# manager-web (Required)
+manager_server_hostname=127.0.0.1
+manager_server_port=8083
+# The default configuration file is dev
+spring_profiles_active=dev
+cluster_zk_root=inlong_hive
+# app_name-InLong Sort is cluster-id
+sort_app_name=inlong_app
+###############################################################################
+
+# inlong website(Required)
+###############################################################################
+# port
+inlong_web_port=80
+# docker port
+docker_inlong_web_port=80
+###############################################################################
+
+# local_ip(Required)
+###############################################################################
+local_ip=YOU_LOCAL_IP
+############################################################################### 
 ```
 
 ## Start
 
 ```shell
-bin/inlong-daemon.sh start standalone
+bin/inlong-daemon start standalone
 ```
 
 ## Stop
 
 ```shell
-bin/inlong-daemon.sh stop standalone
+bin/inlong-daemon stop standalone
 ```
 
 ## Check
 
-After the startup script is completed, JPS checks whether there are the following processes:
+After the startup script is completed, jps -l checks whether there are the following processes:

Review comment:
       ```suggestion
   After the startup script is completed, `jps -l` checks whether there are the following processes:
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org