Answer
- Go to your local.properties file in the hybris/bin folder.
- Enter the following: task.excluded.cluster.ids=1,2
This entry will prevent nodes 1 and 2 (front-end nodes in my case) from processing tasks.
Additional Background
With OOTB Hybris Commerce, all nodes are eligible to process tasks from the task queue. In production, front-end storefront nodes should be configured to process customer traffic only, and not used to process backoffice tasks, which tend to require a significant amount of system resources at times.
So if i have 3 nodes in the cluster and 1 & 2 are customer facing. Do i have to update this property with same value in all 3 nodes local.properties?