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

    How Delayed Queue Processors Work in Pega?

    Editorial TeamBy Editorial TeamMarch 2, 2026Updated:May 31, 2026No Comments3 Mins Read
    Share LinkedIn Telegram Email WhatsApp Copy Link

    This article was inspired by a recent discussion in our YouTube comments, which highlighted a common misconception about how Pega handles delayed messages. Many developers assume that all messages are published to the Kafka topic right away, but that isn’t quite the case!

    Let’s break down the actual mechanics behind Pega’s Queue Processors.

    Understanding the Role of Kafka in Real-Time Processing

    To understand delayed processing, we first need to look at how real-time Immediate queue processing operates:

    • Pega relies on a backend Kafka Topic to handle real-time queue processing.
    • Whenever you create a new Queue Processor, Pega provisions a Kafka Topic in the externalized stream services and initiates a Dataflow run.
    • When you execute a Queue-For-Processing method, Pega acts as the Kafka Producer and sends the message directly to the corresponding Kafka Topic.
    • A real-time data flow run acts as the Kafka Consumer.
    • This consumer picks up the message from the topic and processes it using the designated queue processor activity and access group context.
    • This straightforward producer-consumer flow is how immediate, real-time processing functions

    How Delayed Processing Actually Works

    Delayed processing introduces a completely different workflow.

    • When a delay is configured, the Queue-For-Processing method does not immediately produce a message for the Kafka topic.
    • Instead, it saves the queue entry directly into a database table.
    • The message is only pushed to the Kafka topic after the specified delayed time interval has been crossed.

    Bonus Resilience: Pega also utilizes this database-saving mechanism as a fallback if your stream services or Kafka services ever go down.

    • In those outage scenarios, Pega will save the queue entries inside the DB table and push them to the Kafka Topic later once services are restored.

    The Million Dollar Question: Who Pushes the Messages?

    If the messages sit in a database table, who is responsible for pushing them to the Kafka Topic once the delay expires?

    Think about how standard agents process Service Level Agreements (SLAs). Pega utilizes AQM functionality, where Queue Managers actively poll for standard queue entries based on their processing timestamps. Pega uses a very similar polling concept for delayed queue processors.

    Pega actively browses these delayed entries using one of two methods:

    1. Job Scheduler (pzDelayedQueueProcessorSchedule): This background job can poll for entries, though it is typically disabled by default in higher versions of Pega.

    2. Data Flow Run (DelayedItemsDataFlowService): This is the modern standard. It is enabled by default in higher Pega versions and takes on the responsibility of pushing the eligible messages to the Kafka Topic.

    Under the hood, various components of the com.pega.platform.executor.queueprocessor engine code perform the backend actions required to move these messages. However, as a Pega developer or system administrator, simply understanding this architectural flow is usually sufficient for effective debugging and monitoring.

    Hopefully, the next time someone asks you about the delayed processing mechanism in Pega, you won’t have any doubts! You can check out our full YouTube video for an even deeper dive.

    Editorial Team

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

    Related Posts

    Code Vault

    Pega JSON Data Transform: Deserialization technique

    November 25, 2026
    Insight

    Moving Pega to the Cloud? Why Not Pega Cloud!

    November 23, 2026
    Career

    The Pega Job Market Is Crowded. Now What?

    November 19, 2026
    Videos

    Pega Remote Case Types: Access Cases Across Constellation Applications

    November 16, 2026
    Insight

    Pega Lighthouse Team: What Forward Deployed Engineers Could Mean for Pega Customers

    October 26, 2026
    Videos

    Attribute-Based Access Control in Pega

    October 23, 2026
    Insight

    A Proud Moment for the Pega Community: Pegasystems Recognized as a Leader in AI Platforms and BOAT

    September 25, 2026
    Insight

    Reimagining Heritage Pega Applications with the Application Signature Tool

    September 21, 2026
    Career

    Planning for Your CLSA Certification in an AI-Assisted Pega World

    September 14, 2026
    Insight

    A Farewell to Pega App Studio – the Studio I Learned to Like Too Late

    September 4, 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