Skip to content

Commit

Permalink
[SDK] Update DataProxy JAVA SDK docs
Browse files Browse the repository at this point in the history
  • Loading branch information
castorqin committed Dec 6, 2023
1 parent 8acd9a4 commit 28b2b75
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/sdk/dataproxy-sdk/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public DefaultMessageSender getMessageSender(String localIP, String inLongManage
| password | password | not null|
|isLocalVisit| request inlong manager protocol | https: false , http: true|
|isReadProxyIPFromLocal|whether to read DataProxy ip from local|false|
|netTag|data proxy area, you can get the specified area tag|""|

### Call the send interface to report data
The SDK data send interface is thread safe, support send single or multiple messages by sync and async two ways. The following demo uses a single sync way to send, and the message does not contain property information:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public DefaultMessageSender getMessageSender(String localIP, String inLongManage
| password | 密码 |not null|
| isLocalVisit| 请求inlong Manager协议 |https: false , http: true|
|isReadProxyIPFromLocal|是否从本地读取 DataProxy Ip|false|
|netTag|DataProxy区域,可以获取指定地区tag|""|

### 调用发送接口进行数据上报
SDK 的数据发送接口时线程安全的,支持以同步或者异步模式发送单条或多条消息。Demo里采用的是单条同步消息发送,并且消息中不包含属性信息:
Expand Down

0 comments on commit 28b2b75

Please sign in to comment.