The Alfresco repository supports strategies for sending events.
To select a strategy, set the repo.event2.send.strategy property to one of the following values:
Note: Ensure you select the right strategy based on your needs and
requirements.
Strategy | Delivery Mode | Description |
---|---|---|
async | At most once: events can be lost | An event is queued in the memory and sent asynchronously to the broker. The default behavior in the Community Edition of Content Services. |
direct | At most once: events can be lost | An event is sent directly to the broker after the transaction that caused it. |
outbox | At least once: duplicates might occur | An event is queued in the database as part of the same transaction that caused it.
Events are sent asynchronously, with possible retries. The default behavior in the Enterprise Edition of Content Services, and not available in the Community Edition. If this strategy is used, a user has access to the following metrics:
|