{"id":19755834,"url":"https://github.com/cap-js/event-broker","last_synced_at":"2026-03-01T11:31:47.268Z","repository":{"id":257801262,"uuid":"840520874","full_name":"cap-js/event-broker","owner":"cap-js","description":"CDS plugin providing integration with SAP Cloud Application Event Hub.","archived":false,"fork":false,"pushed_at":"2025-11-04T15:13:39.000Z","size":127,"stargazers_count":3,"open_issues_count":6,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-11-04T17:12:30.351Z","etag":null,"topics":["cap","cds","nodejs","plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cap-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-09T22:51:55.000Z","updated_at":"2025-10-27T19:35:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"cd01854c-e84d-4cb9-8d39-917675df7678","html_url":"https://github.com/cap-js/event-broker","commit_stats":null,"previous_names":["cap-js/event-broker"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cap-js/event-broker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fevent-broker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fevent-broker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fevent-broker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fevent-broker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cap-js","download_url":"https://codeload.github.com/cap-js/event-broker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cap-js%2Fevent-broker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29968459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T10:55:55.490Z","status":"ssl_error","status_checked_at":"2026-03-01T10:55:55.175Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cap","cds","nodejs","plugin"],"created_at":"2024-11-12T03:13:36.367Z","updated_at":"2026-03-01T11:31:47.260Z","avatar_url":"https://github.com/cap-js.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to @cap-js/event-broker\n\n[![REUSE status](https://api.reuse.software/badge/github.com/cap-js/event-broker)](https://api.reuse.software/info/github.com/cap-js/event-broker)\n\n## About this project\n\nCDS plugin providing integration with SAP Cloud Application Event Hub (technical name: `event-broker`).\n\n## Table of Contents\n\n- [About this project](#about-this-project)\n- [Requirements](#requirements)\n- [Setup](#setup)\n- [Support, Feedback, Contributing](#support-feedback-contributing)\n- [Code of Conduct](#code-of-conduct)\n- [Licensing](#licensing)\n\n## Requirements\n\nSee [Getting Started](https://cap.cloud.sap/docs/get-started/in-a-nutshell) on how to jumpstart your development and grow as you go with SAP Cloud Application Programming Model (CAP).\nTo learn about messaging in CAP, please consult the guide on [Events \u0026 Messaging](https://cap.cloud.sap/docs/guides/messaging/).\n\n## Setup\n\nInstall the plugin via:\n\n```bash\nnpm add @cap-js/event-broker\n```\n\nThen, set the `kind` of your messaging service to `event-broker`:\n\n```jsonc\n\"cds\": {\n  \"requires\": {\n    \"messaging\": {\n      \"kind\": \"event-broker\"\n    }\n  }\n}\n```\n\nThe [CloudEvents](https://cloudevents.io/) format is enforced since it is required by SAP Cloud Application Event Hub.\n\nAuthentication in the SAP Cloud Application Event Hub integration is based on the [Identity Authentication service (IAS)](https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/getting-started-with-identity-service-of-sap-btp) of [SAP Cloud Identity Services](https://help.sap.com/docs/cloud-identity-services).\nIf you are not using [IAS-based Authentication](https://cap.cloud.sap/docs/node.js/authentication#ias), you will need to trigger the loading of the IAS credentials into your app's `cds.env` via an additional `requires` entry:\n\n```jsonc\n\"cds\": {\n  \"requires\": {\n    \"ias\": { // any name\n      \"vcap\": {\n        \"label\": \"identity\"\n      }\n    }\n  }\n}\n```\n\nFor more information, please see [SAP Cloud Application Event Hub](https://help.sap.com/docs/sap-cloud-application-event-hub) in SAP Help Portal.\n\n## Parameters\n\n### webhookSizeLimit\n\nTo set a size limit for events accepted by the webhook, set the ``webhookSizeLimit``parameter in the ``package.json`` file in the root folder of your app, e.g.\n\n```jsonc\n\"cds\": {\n  \"requires\": {\n    \"messaging\": {\n      \"kind\": \"event-broker\",\n      \"webhookSizeLimit\": \"1mb\"\n    }\n  }\n}\n```\n\nIf the parameter is not set, the [global request body size limit](https://pages.github.tools.sap/cap/docs/node.js/cds-server#maximum-request-body-size) ``cds.env.server.body_parser.limit`` is taken into account. If this parameter is not set either, the default value of ``1mb``is used.\n\n## Support, Feedback, Contributing\n\nThis project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/event-broker/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).\n\n## Security / Disclosure\n\nIf you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/cap-js/event-broker/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.\n\n## Code of Conduct\n\nWe as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/cap-js/.github/blob/main/CODE_OF_CONDUCT.md) at all times.\n\n## Licensing\n\nCopyright 2024 SAP SE or an SAP affiliate company and event-broker contributors. Please see our [LICENSE](LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available [via the REUSE tool](https://api.reuse.software/info/github.com/cap-js/event-broker).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-js%2Fevent-broker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcap-js%2Fevent-broker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcap-js%2Fevent-broker/lists"}