CDS pluginCDS plugintypeInstalls into a CAP project and extends the runtime. CAP loads it through cds.requires or the plugin hook.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →

@cap-js/event-broker

Consumes events from SAP Cloud Application Event Hub.

Facts

Latestv0.3.1ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
Event MeshCAPEvent MeshcapabilityEmitting and consuming business events across systems through brokers, including subscriptions and mapping application events to broker topics. Work that must survive a request, including deferred processing and retries, belongs to [async processing](capability:async-processing).
Flavors
Node.jsfrom its runtime
Requires
@sap/cds≥ 8@sap/cdsartifactThe peer range, as published.

Who is behind it

SAP Cloud Application Programming ModelSAP Cloud Application Programming ModelOrganisationMaintains this
In the atlas: maintains 34
@cap-js
maintainerAlper DedeogluPersonContributes to this
In the atlas: contributes to 3, wrote 2
@alperdedeoglu
Christian GeorgiPersonContributes to this
In the atlas: maintains 1, contributes to 53
@chgeo
Christian SchüringsPersonContributes to this
In the atlas: contributes to 25
@cschuerings
Dr. David A. KunzPersonContributes to this
In the atlas: contributes to 16
@David-Kunz
Frank NietzoldPersonContributes to this
In the atlas: contributes to 1
@f-nie
Heiko WitteborgPersonContributes to this
In the atlas: contributes to 18
@hm23
Ilia KushnirPersonContributes to this
In the atlas: contributes to 1
@i-kushnir
Johannes VogelPersonContributes to this
In the atlas: contributes to 25
@johannes-vogel
sjvansPersonContributes to this
In the atlas: contributes to 45
@sjvans
Tongwei ZhangPersonContributes to this
In the atlas: contributes to 1
@TongweiZh
10 contributors

Before choosing this

Conditions

LicenceSAP Developer License Agreement 3.2 CAP§ 1, 2, 3A cds-plugin is used with SAP CAP materials, or an artifact is explicitly identified as a CAP plugin or application.
  • § 1 License. Productive customer applications are limited to SAP BTP or another SAP-licensed platform, and mass extraction to a non-SAP product is restricted except where solely required for SAP interoperability.
  • § 2 Intellectual Property. The agreement retains SAP's rights in the covered materials and limits making APIs, tools or software available to third parties, while preserving ownership of customer applications subject to SAP's underlying rights.
  • § 3 Artificial Intelligence Training. The agreement prohibits use of the covered materials and customer applications for training artificial-intelligence models or systems.
SAP Developer License Agreement 3.2 CAP →

What it declares

Every artifact

Type
CDS plugin
Origin
By SAP
Runtime
Node.js

As a CDS plugin

Declared for
>=8
Distributed through
npm

Connections1

@cap-js/event-broker connections@cap-js/event-brokerPROVIDES→ provides1provides authoredEvent Mesh

Install

npm add @cap-js/event-broker

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from cap-js/event-broker under Apache-2.0, read
cap-js/event-broker/README.mdOn GitHub

Welcome to @cap-js/event-broker

REUSE status

About this project

CDS plugin providing integration with SAP Cloud Application Event Hub (technical name: event-broker).

Table of Contents

Requirements

See Getting Started on how to jumpstart your development and grow as you go with SAP Cloud Application Programming Model (CAP). To learn about messaging in CAP, please consult the guide on Events & Messaging.

Setup

Install the plugin via:

npm add @cap-js/event-broker

Then, set the kind of your messaging service to event-broker:

"cds": {
  "requires": {
    "messaging": {
      "kind": "event-broker"
    }
  }
}

The CloudEvents format is enforced since it is required by SAP Cloud Application Event Hub.

Authentication in the SAP Cloud Application Event Hub integration is based on the Identity Authentication service (IAS) of SAP Cloud Identity Services. If you are not using IAS-based Authentication, you will need to trigger the loading of the IAS credentials into your app's cds.env via an additional requires entry:

"cds": {
  "requires": {
    "ias": { // any name
      "vcap": {
        "label": "identity"
      }
    }
  }
}

For more information, please see SAP Cloud Application Event Hub in SAP Help Portal.

Parameters

webhookSizeLimit

To set a size limit for events accepted by the webhook, set the webhookSizeLimitparameter in the package.json file in the root folder of your app, e.g.

"cds": {
  "requires": {
    "messaging": {
      "kind": "event-broker",
      "webhookSizeLimit": "1mb"
    }
  }
}

If the parameter is not set, the global request body size limit cds.env.server.body_parser.limit is taken into account. If this parameter is not set either, the default value of 1mbis used.

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub 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.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We 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 at all times.

Licensing

Copyright 2024 SAP SE or an SAP affiliate company and event-broker contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

Apache-2.0, read

History

Latest

v0.3.1

Features 1

Notes
Added
  • Webhook size limit parameter
  1. v0.3.0

    Features 1

    Notes
    Added
    • Support for publishing events
  2. v0.2.0

    Features 1

    Notes
    Added
    • Prerequisite for inboxing incoming messages in @sap/cds^9
  3. v0.1.2

    Fixes 1

    Notes
    Fixed
    • Response format of unauthorized requests
  4. v0.1.1

    Features 1

    Notes
    Added
    • Support for @sap/cds >= 8.5.0 (modified ias-auth middleware path)
  5. v0.1.0

    Features 1

    Notes
    Added
    • Option for outboxing
  6. v0.0.1

    Features 1

    Notes
    Added
    • Initial release
102downloads per week, npm
Weekly downloads for @cap-js/event-broker26 complete calendar weeks from 2026-04-27 to 2026-10-25; the latest total is 102.27 Apr – 3 May: 4244 May – 10 May: 24611 May – 17 May: 45118 May – 24 May: 23425 May – 31 May: 3871 Jun – 7 Jun: 4168 Jun – 14 Jun: 31715 Jun – 21 Jun: 32022 Jun – 28 Jun: 35829 Jun – 5 Jul: 2626 Jul – 12 Jul: 15613 Jul – 19 Jul: 30920 Jul – 26 Jul: 56827 Jul – 2 Aug: 3923 Aug – 9 Aug: 46110 Aug – 16 Aug: 16217 Aug – 23 Aug: 33924 Aug – 30 Aug: 31631 Aug – 6 Sept: 2757 Sept – 13 Sept: 24614 Sept – 20 Sept: 29021 Sept – 27 Sept: 50828 Sept – 4 Oct: 4635 Oct – 11 Oct: 47312 Oct – 18 Oct: 20419 Oct – 25 Oct: 102
Event Mesh
  1. SAP Integration Suite, advanced event meshEvent streaming and management platform in Integration Suitefrom BTP/BAIP
  2. SAP Cloud Application Event HubDistributes business events between SAP cloud applicationsfrom BTP/BAIP
  3. Event MeshManaged queues and topics over AMQP, MQTT and RESTfrom BTP/BAIP
  4. SAP Integration Suite, Event MeshEvent broker inside SAP Integration Suitefrom BTP/BAIP
  5. com.sap.cds:cds-feature-advanced-event-meshCAP Java plugin for SAP Integration Suite, advanced event meshfrom CAP
  6. com.sap.cds:cds-feature-enterprise-messagingConnects CAP Java messaging to SAP Event Meshfrom CAP
  7. com.sap.cds:cds-feature-event-hubConnects CAP Java messaging to SAP Cloud Application Event Hubfrom CAP
  8. com.sap.cds:cds-feature-kafkaConnects CAP Java messaging to Apache Kafkafrom CAP
  9. com.sap.cds:cds-feature-redisBeta connector from CAP Java messaging to Redis Pub/Subfrom CAP
  10. com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versionsfrom CAP
  11. @cap-js/advanced-event-meshCAP integration with SAP Integration Suite advanced event meshfrom CAP
  12. @cap-js/asyncapiExports AsyncAPI documents for a CAP service's eventsfrom CAP
  13. cds-kafkaKafka adapter exposing topics as a CDS messaging servicefrom CAP
  14. cesar-sap/abap_kafka_rest_proxyABAP connector to Kafka through the Confluent Kafka REST Proxyfrom ABAP
  15. cds-event-monitoringStores, browses and resends messages a CAP service receivesfrom CAP
  16. gregorwolf/AWS_SNS4ABAPICF handler receiving Amazon SNS notifications in an ABAP systemfrom ABAP
  17. INVIXO/abapMQMQTT 3.1.1 client implemented in ABAPfrom ABAP
  18. MQBAMQTT publish/subscribe in ABAP with an external broker bridgefrom ABAP
  19. @sap/cdsCAP Node.js runtimefrom CAP

Details

Sources5
npm registrydiscovered herechecked
capirediscovered here, pluginschecked
npm registry, @cap-js/event-brokerversion, releases, installschecked
github.com/git+https://github.com/cap-js/event-broker.gittree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
runtimesnode
declared for>=8
latestv0.3.1
first release
releases and cadence7, ~46d median
discovered vianpm registry, capire · plugins
first seen in the atlas
ecosystem and domaincap, integration-and-messaging
Contributors10
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:cap-js-event-broker
JSON
/artifacts/cap-js-event-broker.json
MCP
Connecting an agent