By Pranay Jha
| Jan 4, 2018 | In
Articles
| Update: Jan 4, 2018
| Total Views [ 5369 ]
vRealie Automation 7 extensibility though vRealize Orchestrator using Event Broker Service (EBS)
Blocking vs. Non-Blocking Subscriptions:
Subscriptions can monitor or control the underlying workflow:
- Nonblocking subscriptions allow the workflow to complete without interruption.
- Blocking subscriptions pause workflows to wait for sbscriber input.
|
Blocking
|
Non-Blocking
|
Workflow fails
|
Request fails
|
Request succeeds
|
Workflow return values
|
Returns are processed
|
Returns are discarded
|
Parallelism
|
Workflows run in sequence per request
Workflows run in parallel for multiple requests
|
Workflows run in parallel
|
Use
|
To manipulate and edit stuff during events
|
To fire and forget tasks
|
The default subscription is nonblocking. Events are delivered asynchronously to subscribers and have no derect impact to the workflow. When a workflow posts an event that triggers the subscription, the workflow continues to run and doesn't monitor whether the event was picked up.
A blocking subscription is different in that it pauses the workflow until the events that trigger a subscription are processed by the subscriber. The subscriber can send feedback to the workflow by changing variables or issuing exceptions.
It is important to know that when you are creating a new subscription, always start with a blocking subscription and limit the events that subscription triggers on to a single blueprint. This practice makes troubleshooting the subscription much easier and prevents the subscription from interfering with normal operatations.
Thank you for visiting my profile. I am Pranay Jha, bring along a total of 11+ years of extensive experience with me in Information Technology sector for organizations from small business to large enterprises, wherein my current assignment I am associated with IBM as a Technical Solution Architect for Virtualization platform. I am vExpert x 3 (16/17/18), VCIX-DCV, VCAP5/6-DCD, VCAP5-DCA, VCP7-CMA, VCP5/6-DCV, VCA-DCV, VCA-Cloud, VSP, VCE-CIA, MCITP, MCSE, MCSA(Messaging). I am also an Independent blogger and founder of http://vmwareinsight.com and https://cloudpathshala.com. I can be reached via email at pranay1988jha@gmail.com or Direct Message via Contact Us form.