If a Queue processor is processing 10 items and say after processing 3rd item some failure happens,then how will the remaining items be queued.What happens to them?And how does a queue processor will know that how many items were already processed?
If a failure occurs at the 3rd item, only that specific item fails; the others remain in the queue to be processed independently. The queue processor will retry 3 attempts by default. You can spinoff multiple threads up to 20 for a queue processor to process them in parallel.
In Admin Studio, you can check how many items processed.
Queue Processors are designed for isolated, fault-tolerant, transactional processing. When a Queue Processor is handling multiple items and encounters a failure (for example, on the 3rd item out of 10), the behavior is predictable and safe. Any items processed successfully before the failure are committed and marked as completed. The item that fails is rolled back and retained in the queue, while all remaining items continue to be processed independently by available threads.
Each queue item runs in its own transaction, ensuring that a failure in one item does not block or impact others.
Queue Processors also support parallel processing, allowing multiple threads to work on items concurrently for higher throughput. Pega tracks processing progress using persistent queue storage and internal state management, marking each item as Pending, Running, Completed, or Failed. This information is fully visible in Admin Studio, where teams can monitor processed counts, failures, retries, and overall queue health.
So basically if certain items are not being processed so they remain inside which queue?or do they stay in System-message-QueueProcessor-Delayed/Broken Item table?
“The others remain in the queue to be processed independently.”-In which queue is there any entry made in the db table like System-Message-Delayed/Broken Item?I want to understand here where exactly the items stay in the Queue processor?
basically for more insights i can see in the Admin studio,understood thanks @RameshSangili
