-
Notifications
You must be signed in to change notification settings - Fork 641
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add documentation for dingtalk sink connector. * fix
- Loading branch information
1 parent
be8fcc9
commit 61e1392
Showing
3 changed files
with
61 additions
and
9 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
eventmesh-connectors/eventmesh-connector-dingtalk/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# eventmesh-connector-dingtalk | ||
|
||
## DingtalkSinkConnector:from eventmesh to dingtalk。 | ||
|
||
1. launch your eventmesh-runtime. | ||
2. enable sinkConnector and check `sink-config.yml`. | ||
3. send a message to eventmesh with the topic defined in `pubSubConfig.subject` | ||
```yaml | ||
pubSubConfig: | ||
# default port is 10000 | ||
meshAddress: 127.0.0.1:10000 | ||
subject: TEST-TOPIC-DINGTALK | ||
idc: FT | ||
env: PRD | ||
group: dingTalkSink | ||
appId: 5034 | ||
userName: dingTalkSinkUser | ||
passWord: dingTalkPassWord | ||
sinkConnectorConfig: | ||
connectorName: dingTalkSink | ||
# Please refer to: https://open.dingtalk.com/document/orgapp/the-robot-sends-a-group-message | ||
appKey: dingTalkAppKey | ||
appSecret: dingTalkAppSecret | ||
openConversationId: dingTalkOpenConversationId | ||
robotCode: dingTalkRobotCode | ||
``` |
26 changes: 26 additions & 0 deletions
26
eventmesh-connectors/eventmesh-connector-dingtalk/README_CN.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# eventmesh-connector-dingtalk | ||
|
||
## DingtalkSinkConnector:从 eventmesh 到 dingtalk。 | ||
|
||
1. 启动你的 eventmesh-runtime。 | ||
2. 启用 sinkConnector 并检查 `sink-config.yml`。 | ||
3. 向 eventmesh 发送带有在 `pubSubConfig.subject` 中定义的主题消息。 | ||
```yaml | ||
pubSubConfig: | ||
# 默认端口10000 | ||
meshAddress: 127.0.0.1:10000 | ||
subject: TEST-TOPIC-DINGTALK | ||
idc: FT | ||
env: PRD | ||
group: dingTalkSink | ||
appId: 5034 | ||
userName: dingTalkSinkUser | ||
passWord: dingTalkPassWord | ||
sinkConnectorConfig: | ||
connectorName: dingTalkSink | ||
# 以下配置参考 https://open.dingtalk.com/document/orgapp/the-robot-sends-a-group-message | ||
appKey: dingTalkAppKey | ||
appSecret: dingTalkAppSecret | ||
openConversationId: dingTalkOpenConversationId | ||
robotCode: dingTalkRobotCode | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters