Cloudevents
We facilitate subscriptions on a pub/sub model. This is based on CloudEvents but also supports the NL GOV profile for CloudEvents. More documentation can be found here.
Event System
Event Subscriptions
The OpenConnector platform implements the CloudEvents Subscription API specification to manage event subscriptions. This allows consumers to subscribe to specific events and receive them through various delivery mechanisms.
Subscription Styles
The platform supports two subscription styles:
- Push: Events are actively sent to the subscriber's endpoint (sink)
- Pull: Subscribers fetch events from the platform
Subscription Properties
Each subscription contains the following properties:
id: Unique identifier for the subscriptionsource: URI identifying where events originatetypes: Array of CloudEvent type values to subscribe toconfig: Subscription-specific configurationfilters: Array of filter expressions for event matchingsink: URI where events should be deliveredprotocol: Delivery protocol (HTTP, MQTT, AMQP, etc.)protocolSettings: Protocol-specific settingsstyle: Delivery style ('push' or 'pull')status: Subscription statususerId: Owner of the subscription
Filter Dialects
The platform supports the following filter dialects as defined in the CloudEvents specification:
exact: Exact matching of attribute valuesprefix: Prefix matching of attribute valuessuffix: Suffix matching of attribute valuesall: Logical AND of multiple filtersany: Logical OR of multiple filtersnot: Logical NOT of a filter