Is there a way to stop all Queue Processors at once? And, restart all QPs later.
Our client has a weekly maintenance where we need to stop all QPs, because there have been issues when QPs run while the maintenance activity is in progress.
===
As a reference, the following activity can be used to stop & restart a QP.
Run pxStopRunById activity (class: Data-Decision-DDF-RunOptions); for example, pass “pyFTSIncrementalIndexer” parameter to stop.
Run pxRestartById activity (class: Data-Decision-DDF-RunOptions); for example, pass “pyFTSIncrementalIndexer” parameter to restart.
@Will Cho Simple answer is “No” OOTB. But there are ways you can implement this.
When a Pega Queue Processor is stopped, it stops processing messages from the queue, time to stop the queue processor depends on how large the queue is and how many partitions are present for that particular queue processor.
This can be done manually by an administrator or automatically as part of a scheduled job [ Job scheduler activity will be: pzStartStopQueueProcessor and, Parameters are QPName and QPStatus] or system shutdown.
When the queue processor is stopped, any messages that have not yet been processed will remain in the queue until the processor is started again. If the processor is stopped during the processing of a message, that message will be rolled back and returned to the queue to be processed again when the processor is restarted.
@Will Cho Hi Team , I want to know how do I restart a single queue processor? Does it that I just click stop from Admin studio–> Queue processors–> then refresh, check the status, and click start if it has already stopped?