Skip to content

Parallel Processing

Parallel processing of the notification feeds can be achieved by using the visibility_timeout parameter on the /receive-notifications and /receive-invites endpoints.

Immediately after a notification is received, it remains in the queue. To prevent other consumers from processing the notification again, the Opportunity Registry sets a visibility timeout, a period of time during which the Opportunity Registry prevents other consumers from receiving and processing the notification. The default visibility timeout for a notification is 0 seconds. The minimum is 0 seconds. The maximum is 10 minutes.

{
"limit": 50,
"visibility_timeout": 60
}