Skip to content

Commit 1f474ae

Browse files
committed
Restructure Event Broker bridges documentation and add Azure Blob Storage and AWS S3 bridges support
1 parent f295545 commit 1f474ae

32 files changed

Lines changed: 415 additions & 216 deletions

content/en/docs/marketplace/platform-supported-content/services/event-broker.md

Lines changed: 1 addition & 216 deletions
Original file line numberDiff line numberDiff line change
@@ -94,222 +94,7 @@ From here, you can manage the default access settings:
9494
* **Publish events it implements**
9595
* **Subscribe to events it implements**
9696

97-
## Mendix Event Broker Bridges {#manage-mx-broker-bridge}
98-
99-
{{% alert color="warning" %}}
100-
This feature is currently in [Private Beta](/releasenotes/release-status/). Contact your Customer Success Manager or Account Manager for further assistance.
101-
{{% /alert %}}
102-
103-
Mendix Event Broker Bridges facilitate integration between the Mendix Event Broker and external technologies, such as AWS SQS and HTTP. These bridges enable the exchange of events between your Mendix Cloud environment and external systems, ensuring efficient communication across diverse technological landscapes.
104-
105-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/event_broker_bridges.png" class="no-border" >}}
106-
107-
### Standard Message Format
108-
109-
Every event must carry four mandatory CloudEvents core attributes, each prefixed with `ce_`:
110-
111-
* id as `ce_id`
112-
* source as `ce_source`
113-
* specversion as `ce_specversion`
114-
* type as `ce_type`
115-
116-
See [CloudEvents](https://github.com/cloudevents/spec/blob/v1.0.1/spec.md#required-attributes) for more information on required attributes.
117-
118-
#### HTTP Bridges Header
119-
120-
For HTTP Bridges, an additional HTTP header is required for authentication.
121-
122-
* **Authorization** – The value must be set as a Bearer token using the Personal Access Token (PAT) generated during bridge configuration.
123-
For example: `Authorization: Bearer <your-personal-access-token>`
124-
125-
This header must be included in all HTTP requests sent to the Mendix Event Broker via the HTTP Bridge. For details on how to obtain your Bearer token, see [Using the HTTP Bridge](#using-the-http-bridge).
126-
127-
{{% alert color="info" %}}
128-
You can include additional HTTP headers in your request, such as `ce_time: 2025-06-13T15:36:52.148542+02:00`. For example, passing `ce_time` will set the published time of the event. All other custom HTTP headers will be forwarded as Kafka headers by default.
129-
{{% /alert %}}
130-
131-
### Creating a Bridge
132-
133-
Technical Contacts with a license to the Mendix Event Broker can manage this feature from the **Event Broker Bridges** tab on the [Event Broker Manager](https://broker.mendix.com/) page.
134-
135-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/event_broker_bridges_create.png" class="no-border" >}}
136-
137-
1. Click **Create a Bridge** to create a new bridge.
138-
2. Select either an **AWS SQS** or an **HTTP** service to configure.
139-
140-
* An AWS SQS bridge uses the [Amazon Simple Queue Service](https://aws.amazon.com/sqs/). The HTTP Bridge uses HTTP requests to send events from external systems to the Mendix Event Broker. The HTTP bridge is one-way: **HTTP to Event Broker**.
141-
142-
3. Click **Next** to continue with creating your bridge.
143-
144-
* For instructions on configuring for AWS SQS, see [Configuring a Bridge with AWS SQS](#bridge-with-aws-sqs)
145-
* For instructions on configuring for HTTP, see [Configuring a Bridge with HTTP](#bridge-with-http)
146-
147-
### Configuring a Bridge with AWS SQS {#bridge-with-aws-sqs}
148-
149-
The creation process for AWS SQS bridges includes two further steps on the Mendix side and policies that need to be implemented on the AWS side.
150-
151-
#### Configuration Details
152-
153-
1. Select a [Space](#spaces), Name, and Region for the bridge to operate in.
154-
155-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/event_broker_bridges_create_3_sqs.png" class="no-border" >}}
156-
157-
2. Click **Next** to continue the configuration.
158-
159-
#### Choose the Business Events to Integrate
160-
161-
The user must select events from the Event Broker landscape of events to send to or receive from AWS SQS. To do this, do the following:
162-
163-
1. Select **Add Business Events** and search for the appropriate events.
164-
2. Select the checkbox for the event(s) you want to add, then click **Select**.
165-
166-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/event_broker_bridges_create_4_sqs.png" class="no-border" width="400" >}}
167-
168-
3. Configure each event with its own SQS URL for each direction the event will be integrated.
169-
170-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/event_broker_bridges_create_5_sqs.png" class="no-border" width="400" >}}
171-
172-
4. Click **Next** to continue.
173-
174-
5. Confirm the configuration with the AWS Access Policy.
175-
176-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/event_broker_bridges_create_6_sqs.png" class="no-border" width="400" >}}
177-
178-
6. After all events have been configured, click **Start** to start the Mendix Event Broker Bridge. This process will take several minutes to complete. You can also choose to **Start Later**.
179-
180-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/event_broker_bridges_overview_sqs.png" class="no-border" width="400" >}}
181-
182-
Once the Mendix Event Broker Bridge has been successfully deployed, its configuration and status can be viewed on the **Overview** page.
183-
184-
#### Configure AWS Access Policy
185-
186-
You need to configure AWS access policies for both sending and receiving messages.
187-
188-
##### Sending Messages to Mendix
189-
190-
Add this object to the Access Policy of your AWS SQS queue if it is sending messages to Mendix.
191-
192-
```
193-
{
194-
"Sid": "__sender_statement",
195-
"Effect": "Allow",
196-
"Principal": {
197-
"AWS": [
198-
"arn:aws:iam::044806572671:role/mendix-event-broker-bridge"
199-
]
200-
},
201-
"Action": [
202-
"SQS:SendMessage"
203-
],
204-
"Resource": "<Tenant SQS ARN>"
205-
}
206-
```
207-
208-
##### Receiving Messages from Mendix
209-
210-
Add this object to your Access Policy of the AWS SQS queue if it is receiving messages from Mendix.
211-
212-
```
213-
{
214-
"Sid": "__receiver_statement",
215-
"Effect": "Allow",
216-
"Principal": {
217-
"AWS": [
218-
"arn:aws:iam::044806572671:role/mendix-event-broker-bridge"
219-
]
220-
},
221-
"Action": [
222-
"SQS:ChangeMessageVisibility",
223-
"SQS:DeleteMessage",
224-
"SQS:ReceiveMessage"
225-
],
226-
"Resource": "<Tenant SQS ARN>"
227-
}
228-
```
229-
230-
### Configuring a Bridge with HTTP {#bridge-with-http}
231-
232-
#### Configure Service
233-
234-
Configure the service by filling out the following:
235-
236-
* **Event Broker Space** – the space where the bridge will operate
237-
* **Bridge Name** – the name you want to call the bridge
238-
* **AWS region** – the AWS region where your bridge operates
239-
240-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/http/event_broker_bridges_create_3_http.png" class="no-border" width="400" >}}
241-
242-
Click **Next** to connect events to your bridge.
243-
244-
#### Connect Events
245-
246-
Initially, you will have no business events. Choose the business events to integrate by doing the following:
247-
248-
1. Click **Add Business Events** to open a dialog displaying all events managed by the Event Broker (including Mendix app-defined and uploaded AsyncAPI events). Only events that can **subscribe** are displayed, as this bridge is one-way.
249-
2. Select the event(s) you want to integrate. Once events are selected, the URL for the HTTP connection is automatically generated. No further configuration is required.
250-
3. Click **Next** to integrate the chosen business events.
251-
252-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/http/event_broker_bridges_create_4_http.png" class="no-border" width="400" >}}
253-
254-
#### Confirmation
255-
256-
On the confirmation screen you can do the following:
257-
258-
* Click **Start** to start the bridge immediately
259-
* Click **Start Later** to continue without starting the bridge
260-
261-
Once The HTTP Bridge has been configured, its configuration and status can be viewed on the **Overview** page.
262-
263-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/http/event_broker_bridges_create_6_http.png" class="no-border" >}}
264-
265-
#### Using the HTTP Bridge {#using-the-http-bridge}
266-
267-
To run the HTTP bridge from your client, include a Bearer token in the request header.
268-
269-
1. Open the HTTP bridge details using **Options** ({{% icon name="three-dots-menu-horizontal" %}}) menu on the Overview page.
270-
2. Add the **Bearer token**.
271-
272-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/http/event_broker_bridges_create_7_http.png" class="no-border" >}}
273-
274-
#### Editing an HTTP Bridge
275-
276-
After creating an HTTP Bridge, you can modify its event configuration by adding or removing events as your integration requirements evolve, without needing to recreate the bridge.
277-
278-
{{% alert color="info" %}}You can only edit an HTTP Bridge when its status is **Running**.{{% /alert %}}
279-
280-
To edit an HTTP Bridge:
281-
282-
1. On the [Event Broker Manager](https://broker.mendix.com/) page, navigate to the **Event Broker Bridges** tab.
283-
2. Click the HTTP Bridge you want to modify.
284-
3. Click **Edit** to enter editing mode.
285-
286-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/edit-bridge/http_overview-edit.png" class="no-border" >}}
287-
288-
In editing mode, you can perform the following actions:
289-
290-
* **Add Business Events**:
291-
292-
1. Click **Add Business Events** to open a dialog that displays available events.
293-
2. Select the events you want to add and click **Select**. Added events will display an **Added** badge and can be removed before applying changes.
294-
295-
* **Remove Business Events**:
296-
297-
1. Navigate to the event you want to remove and click **Remove**. Removed events will display a **Removed** badge, and their name and metadata will appear grayed out.
298-
2. Re-add a removed event by clicking **Add** before applying changes.
299-
300-
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/edit-bridge/http_edit_mode.png" class="no-border" >}}
301-
302-
4. Once you have made your changes, you can:
303-
* Click **Apply** to save and apply the changes. A confirmation message will indicate if the changes were successful. Changes to the event configuration take effect they are applied.
304-
* Click **Cancel** to exit editing mode without saving any changes.
305-
306-
{{% alert color="info" %}}
307-
The **Apply** button is only enabled when changes have been made to the bridge configuration.
308-
{{% /alert %}}
309-
310-
{{% alert color="warning" %}}
311-
If an error occurs during the editing process, the bridge will automatically roll back to its previous running state to ensure continuity of service.
312-
{{% /alert %}}
97+
{{< include "/static/_includes/event-broker-bridges.md" >}}
31398

31499
## Externally Defined Events {#externally-defined-events}
315100

layouts/shortcodes/include.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ readFile (.Get 0) | markdownify }}

0 commit comments

Comments
 (0)