cancel
Showing results for 
Search instead for 
Did you mean: 

Connect CAP App to an Event Mesh instance in another subaccount (with CAP configuration)

Trulov
Participant
0 Kudos

Hello experts,

I am currently trying to consume an event mesh queue from my CAP app, but it is in a different subaccount.

I know that it is technically possible to connect to the service via SAP Integration Suite or simply via Node.js coding. However, I am trying to find a way to connect to the event mesh so that I can consume an event in "CAP style" (e.g. via CDS, Annotations and Event Handlers).

For example, shouldn't it be possible to create a service binding via the mta.yaml? So I was thinking something like setting the org and space like this (doesn't work):

<...>
resources:
<...>
- name: cpapp-messaging
type: org.cloudfoundry.managed-service
parameters:
service: enterprise-messaging
service-plan: default
target:
org: <my-2nd-org>
space: event-mesh
path: ./event-mesh.json

I saw that there is some documentation in that direction, which is tackling connectivity between MTAs in different cf-orgs. But I can't figure out how to natively connect from CAP-MTA-project to SAP Event Mesh.

Has anyone tried something like this or has experience with this topic?

Thanks in advance and best regards

Tom

Animatron56
Participant
0 Kudos
We are currently trying out the same scenario. Were you able to connect event mesh across different subaccounts?

Accepted Solutions (0)

Answers (0)