sink-config.yml
.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
When using the eventmesh-connector-wecom sinking event, you need to add the corresponding extension filed in CloudEvent:
wecomtemplatetype
, value=text
/markdown
, indicating the text type of the event.