{"ref":"content:publish-events-from-cap-nodejs-to-integration-suite-event-mesh","page":"/content/publish-events-from-cap-nodejs-to-integration-suite-event-mesh","json":"/content/publish-events-from-cap-nodejs-to-integration-suite-event-mesh.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"publish-events-from-cap-nodejs-to-integration-suite-event-mesh","title":"Publish events from CAP Node.js applications to Event Mesh of Integration Suite","url":"https://community.sap.com/t5/integration-blog-posts/publish-events-from-cap-node-js-applications-to-event-mesh-of-integration/ba-p/14322210","content_type":"blog","explains":[{"ref":"capability:event-mesh","applies_to":{"ecosystems":["btp","cap"]}}],"summary":"The smallest complete example: `cds init`, a service with one function, `cds.connect.to('messaging')` and an `emit` to a topic. Deliberately scoped — the [Event Mesh](artifact:btp-event-mesh) setup is skipped and the subaccount is assumed to be the same one — so what remains is the handful of lines on the CAP side and the binding that makes them reach the broker.","short":"Minimal CAP Node.js example emitting events to Event Mesh","author":"KevinWang_ST_Consultancy","published":"2026-02-13","sources":[{"url":"https://community.sap.com/t5/integration-blog-posts/publish-events-from-cap-node-js-applications-to-event-mesh-of-integration/ba-p/14322210","title":"Publish events from CAP Node.js applications to Event Mesh of Integration Suite — SAP Community","checked":"2026-09-08"}],"provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-08"},"drafted_with_ai":true,"published_on":"source:sap-community","history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:event-mesh (cap, btp)","reason":"Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"good","evidence":"published 9 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"poor","evidence":"@sap/cds 10.0.3, 2026-07"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":1219,"unit":"views"},{"value":1,"unit":"comments"},{"value":6,"unit":"likes"}]},"signals":{"views":1219,"likes":6,"comments":1,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}