You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by yu...@apache.org on 2021/07/28 09:12:23 UTC
[incubator-inlong-website] branch master updated: [INLONG-809]
dataproxy readme delete reference url (#117)
This is an automated email from the ASF dual-hosted git repository.
yuanbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git
The following commit(s) were added to refs/heads/master by this push:
new 1035ff6 [INLONG-809] dataproxy readme delete reference url (#117)
1035ff6 is described below
commit 1035ff61c743b3f0ca9c1178423017a9685f1a12
Author: ziruipeng <zp...@connect.ust.hk>
AuthorDate: Wed Jul 28 17:12:17 2021 +0800
[INLONG-809] dataproxy readme delete reference url (#117)
Co-authored-by: stingpeng <st...@tencent.com>
---
docs/en-us/modules/dataproxy/architecture.md | 11 +++++------
docs/zh-cn/modules/dataproxy/architecture.md | 12 ++++++------
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/docs/en-us/modules/dataproxy/architecture.md b/docs/en-us/modules/dataproxy/architecture.md
index 8e6d2ef..cd30eeb 100644
--- a/docs/en-us/modules/dataproxy/architecture.md
+++ b/docs/en-us/modules/dataproxy/architecture.md
@@ -26,8 +26,7 @@ Source configuration example and corresponding notes:
tcp resolution type definition, here provide the class name for instantiation, SimpleTcpSource is mainly to initialize the configuration and start port monitoring
agent1.sources.tcp-source.msg-factory-name = org.apache.flume.source.ServerMessageFactory
- Handler used for message structure analysis, and set read stream handler and write stream handler, netty concept, please refer to: https://blog.csdn.net/u013252773/article/details/21195593
-
+ Handler used for message structure analysis, and set read stream handler and write stream handler
agent1.sources.tcp-source.host = 0.0.0.0
tcp ip binding monitoring, binding all network cards by default
@@ -57,10 +56,10 @@ Source configuration example and corresponding notes:
Netty thread pool work thread upper limit, generally recommended to choose twice the cpu
agent1.sources.tcp-source.receiveBufferSize = 524288
- Netty server tcp tuning parameters, please refer to: https://stackoverflow.com/questions/4257410/what-are-so-sndbuf-and-so-rcvbuf
-
+ Netty server tcp tuning parameters
+
agent1.sources.tcp-source.sendBufferSize = 524288
- Netty server tcp tuning parameters, please refer to: https://stackoverflow.com/questions/4257410/what-are-so-sndbuf-and-so-rcvbuf
+ Netty server tcp tuning parameters
agent1.sources.tcp-source.custom-cp = true
Whether to use the self-developed channel process, the self-developed channel process can select the alternate channel to send when the main channel is blocked
@@ -128,7 +127,7 @@ Sink configuration example and corresponding notes
agent1.sinks.meta-sink-more1.type = org.apache.flume.sink.MetaSink
The sink class is implemented, where the message is implemented to push data to the tube cluster
- agent1.sinks.meta-sink-more1.master-host-port-list = sk-tegspider-tube-master-1:8609,sk-tegspider-tube-master-2:8609
+ agent1.sinks.meta-sink-more1.master-host-port-list =
Tube cluster master node list
agent1.sinks.meta-sink-more1.send_timeout = 30000
diff --git a/docs/zh-cn/modules/dataproxy/architecture.md b/docs/zh-cn/modules/dataproxy/architecture.md
index 7cf7770..97f89fd 100644
--- a/docs/zh-cn/modules/dataproxy/architecture.md
+++ b/docs/zh-cn/modules/dataproxy/architecture.md
@@ -28,7 +28,7 @@ Source配置示例以及对应的注解:
tcp解析类型定义,这里提供类名用于实例化,SimpleTcpSource主要是初始化配置并启动端口监听
agent1.sources.tcp-source.msg-factory-name = org.apache.flume.source.ServerMessageFactory
- 用于构造消息解析的handler,并设置read stream handler和write stream handler,netty概念,具体可参考:https://blog.csdn.net/u013252773/article/details/21195593
+ 用于构造消息解析的handler,并设置read stream handler和write stream handler
agent1.sources.tcp-source.host = 0.0.0.0
tcp ip绑定监听,默认绑定所有网卡
@@ -37,7 +37,7 @@ Source配置示例以及对应的注解:
tcp 端口绑定,默认绑定46801端口
agent1.sources.tcp-source.highWaterMark=2621440
- netty概念,设置netty高水位值,高水位详细解答可参考:https://www.jianshu.com/p/c9e9a5a11943
+ netty概念,设置netty高水位值
agent1.sources.tcp-source.max-msg-length = 524288
限制单个包大小,这里如果传输的是压缩包,则是压缩包大小,限制512KB
@@ -55,10 +55,10 @@ Source配置示例以及对应的注解:
netty线程池工作线程上限,一般推荐选择cpu的两倍
agent1.sources.tcp-source.receiveBufferSize = 524288
- netty server tcp调优参数,具体解释可参考:https://stackoverflow.com/questions/4257410/what-are-so-sndbuf-and-so-rcvbuf
-
+ netty server tcp调优参数
+
agent1.sources.tcp-source.sendBufferSize = 524288
- netty server tcp调优参数,具体解释可参考:https://stackoverflow.com/questions/4257410/what-are-so-sndbuf-and-so-rcvbuf
+ netty server tcp调优参数
agent1.sources.tcp-source.custom-cp = true
是否使用自研的channel process,自研channel process可在主channel阻塞时,选择备用channel发送
@@ -125,7 +125,7 @@ Sink配置示例以及对应的注解
agent1.sinks.meta-sink-more1.type = org.apache.flume.sink.MetaSink
sink类实现,此处实现消息向tube集群推送数据
- agent1.sinks.meta-sink-more1.master-host-port-list = sk-tegspider-tube-master-1:8609,sk-tegspider-tube-master-2:8609
+ agent1.sinks.meta-sink-more1.master-host-port-list =
tube集群master节点列表
agent1.sinks.meta-sink-more1.send_timeout = 30000