Skip to main content
版本:v2.0.0

DingTalk connector

Audience: operators bridging EventMesh with DingTalk. DingTalk bridge. Source receives robot outgoing-callback messages (with HMAC signature verification); sink posts events to a DingTalk group-robot webhook.


Classes

DirectionClassBehavior
Sourceorg.apache.eventmesh.connector.dingtalk.source.DingtalkSourceConnectorJDK HttpServer on connector.port+connector.path; verifies timestamp+sign headers as base64(HMAC-SHA256(timestamp + "\n" + appSecret)) when connector.appSecret is set; accepted pushes become CloudEvents and poll() drains them.
Sinkorg.apache.eventmesh.connector.dingtalk.sink.DingtalkSinkConnectorPOSTs each CloudEvent's payload to connector.webhookUrl.

Source configuration

KeyDefaultDescription
connector.port8091HTTP listen port
connector.path/dingtalkHTTP listen path
connector.appSecret``Robot app secret for signature verification (empty = skip verify)

Sink configuration

KeyDefaultDescription
connector.webhookUrl``DingTalk robot webhook URL

Running

Configure the robot's outgoing callback to http://worker:8091/dingtalk; bin/start-connector.sh with -Dconnector.class=...DingtalkSourceConnector -Dconnector.mode=source -Dconnector.appSecret=...