Close Menu
MyKnowTech
    MyKnowTech
    • Technical Blogs
    • Career
    • Partner Spotlight
    • Videos
    • Pega News
    • Services
    LinkedIn YouTube Facebook
    MyKnowTech
    Videos

    Queue Processor in Pega – What You Need to Know

    Editorial TeamBy Editorial TeamMay 25, 2026Updated:May 26, 2026No Comments3 Mins Read
    Share LinkedIn Telegram Email WhatsApp Copy Link

    From Pega Infinity onwards, queue processor is the recommended replacement for standard agents. If you are still using standard agents for background processing, this is worth understanding.

    How Queue Processor Differs From Standard Agent

    The main difference is in how data is stored and processed. Standard agents use database tables for everything. Queue processors use Kafka topics and partitions as the primary processing mechanism – which is significantly faster and supports multithreading.

    That said, queue processors still use database tables in two situations. Delayed items – when you want processing to happen at a future time – get saved to a dedicated database table first, then published to Kafka when the time comes. And broken items – failed processing – also get persisted to a dedicated table for retry handling.

    Queue processors are also dependent on the stream node. If the stream service is down, incoming messages fall back to the delayed item table rather than being published to Kafka. Standard agents have no such dependency.

    Standard vs Dedicated Queue Processor

    There are two types worth knowing.

    A standard queue processor uses a shared out-of-the-box Kafka topic – pzStandardProcessor. You do not create your own queue processor instance. Just specify the activity you want to run. Good for lower volume processing or one-off bulk updates during off-peak hours.

    A dedicated queue processor creates its own Kafka topic and partitions. You create the queue processor rule, assign an activity, configure threading and error handling, and it gets its own isolated processing pipeline. Recommended for high-volume or business-critical processing where shared topic contention could cause issues.

    Key Configuration Points

    When creating a dedicated queue processor, the main settings are whether processing is immediate or delayed, the number of threads per node – capped by the number of Kafka partitions – and the processing activity.

    For error handling, you can configure maximum retry attempts, initial delay between retries and a delay factor that progressively increases the wait time between attempts. Alert thresholds for long-running processes can also be set here.

    One thing to note – queue processors use the access group of the user who queues the instance, similar to standard agents. You can override this with an alternate access group if needed.

    Migrating From Standard Agent

    If your standard agent processes only real-time messages with no future-scheduled entries, migration is straightforward. Create the queue processor, replace queue-for-agent calls with queue-for-processing, then disable the agent.

    If the agent has delayed entries still pending in the queue, wait for those to process before disabling the agent. Disabling it prematurely means those entries never get processed.

    Watch the Full Walkthrough

    In the video below I walk through the full queue processor setup – creating a dedicated queue processor, queuing instances from both activity methods and flow shapes, testing immediate and delayed processing, and debugging from Admin Studio.

    Queue processor is one of those topics that rewards the time you invest in understanding it. Once you see it processing Kafka messages in real time compared to a standard agent, the performance difference speaks for itself.

    Beginner
    Editorial Team

    An insightful team dedicated to empowering the Pega ecosystem with in-depth knowledge, guided by Premkumar Ganesan's vision.

    Related Posts

    Videos

    A Walkthrough of Dev Studio in Pega

    May 25, 2026
    Videos

    Understanding Rules and Rule Types in Pega

    May 25, 2026
    Videos

    Understanding Rulesets in Pega

    May 25, 2026
    Videos

    Pega Checkout Checkin Developer Actions

    May 25, 2026
    Videos

    Understanding Classes and Class Groups in Pega

    May 25, 2026
    Videos

    Basic Authentication in Pega

    May 25, 2026
    Videos

    How to Generate an Excel File in Pega

    May 25, 2026
    Videos

    Why You Should Not Use Commit or Write Now in Pega

    May 25, 2026
    Videos

    Different Studios in the Pega Platform

    May 25, 2026
    Videos

    A Walkthrough of App Studio in Pega

    May 25, 2026
    Search through the blog
    Tags
    activity Advanced authentication background-processing Beginner case-management Constellation data-model declarative-processing email-processing file-processing Integration pega-core-concepts pega-integration process reporting security system-administration user-interface validation
    Pega Courses

    Pega courses can be accessed at https://myknowacademy.com

    About

    MyKnowTech is a boutique Pega enablement and consulting firm – helping organizations build internal Pega capability through structured training programs, Centre of Excellence setup and hands-on architecture guidance.

    Company
    • About
    • Leadership
    • Career
    • Contact
    Resources
    • Technical Blogs
    • Career
    • Partner Spotlight
    • Videos
    • Pega News
    • Services

    ©  MyKnowTech B.V. All Rights Reserved.

    • Sitemap
    • Terms & Conditions
    • Privacy Policy