WeCom
WecomSinkConnector: From EventMesh to WeCom
- 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-WECOMidc: FTenv: PRDgroup: weComSinkappId: 5034userName: weComSinkUserpassWord: weComPassWordsinkConnectorConfig:connectorName: weComSink# Please refer to: https://developer.work.weixin.qq.com/document/path/90236robotWebhookKey: weComRobotWebhookKey
CloudEvent Attributes
When using the eventmesh-connector-wecom sinking event, you need to add the corresponding extension filed in CloudEvent:
- When key=
wecomtemplatetype, value=text/markdown, indicating the text type of the event.
