DingTalk
DingtalkSinkConnector: From EventMesh to DingTalk
- launch your EventMesh Runtime.
- enable sinkConnector and check
sink-config.yml. - send a message to EventMesh with the topic defined in
pubSubConfig.subject
pubSubConfig:# default port 10000meshAddress: your.eventmesh.server:10000subject: TEST-TOPIC-DINGTALKidc: FTenv: PRDgroup: dingTalkSinkappId: 5034userName: dingTalkSinkUserpassWord: dingTalkPassWordsinkConnectorConfig:connectorName: dingTalkSink# Please refer to: https://open.dingtalk.com/document/orgapp/the-robot-sends-a-group-messageappKey: dingTalkAppKeyappSecret: dingTalkAppSecretopenConversationId: dingTalkOpenConversationIdrobotCode: dingTalkRobotCode
CloudEvent Attributes
When using the eventmesh-connector-dingtalk sinking event, you need to add the corresponding extension filed in CloudEvent:
- When key=
dingtalktemplatetype, value=text/markdown, indicating the text type of the event. - When text type is markdown, you can add extension: key=
dingtalkmarkdownmessagetitle, value indicates the title of the event.
