cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP Persistent Outbox for multiple instance and multiple service

Andrew_Mai
Participant
0 Kudos
710

Does the CAP Persistent Outbox for Event Mesh when I apply the Auto Scale?

Based on the source code, what happen it have 2-4 instance of the App on Cloud Foundry? Does it will emit the event 2-4 times?

Another thing, if I have multiple micro service that access to same HANA HDI Container, how does the Persistent Outbox will work? From what I save from the source code of version 6.6.0, the entity Messages is like this:

entity Messages : cuid { timestamp: Timestamp; target: String; msg: LargeString; attempts: Integer default 0; partition: Integer default 0; lastError: LargeString; lastAttemptTimestamp: Timestamp @cds.on.update : $now;}Then if there are two service (Let call is Service A and service B) access to the same HDI Container, from what I see, they will write Event Message to the same Table. How they know which message is from Service A, which message is from service B?

Accepted Solutions (0)

Answers (0)