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 10000
meshAddress: your.eventmesh.server:10000
subject: TEST-TOPIC-WECOM
idc: FT
env: PRD
group: weComSink
appId: 5034
userName: weComSinkUser
passWord: weComPassWord
sinkConnectorConfig:
connectorName: weComSink
# Please refer to: https://developer.work.weixin.qq.com/document/path/90236
robotWebhookKey: 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.