{"record":{"id":"45455975b2b77223","repo":"conductor-oss/conductor","slug":"event-processing-is-disabled","errorCode":null,"errorMessage":"Event processing is DISABLED","messagePattern":"Event processing is DISABLED","errorType":"exception","errorClass":"IllegalStateException","httpStatus":500,"severity":"warning","filePath":"core/src/main/java/com/netflix/conductor/service/AdminServiceImpl.java","lineNumber":134,"sourceCode":"     */\n    public String requeueSweep(String workflowId) {\n        boolean pushed =\n                queueDAO.pushIfNotExists(\n                        Utils.DECIDER_QUEUE,\n                        workflowId,\n                        properties.getWorkflowOffsetTimeout().getSeconds());\n        return pushed + \".\" + workflowId;\n    }\n\n    /**\n     * Get registered queues.\n     *\n     * @param verbose `true|false` for verbose logs\n     * @return map of event queues\n     */\n    public Map<String, ?> getEventQueues(boolean verbose) {\n        if (eventQueueManager == null) {\n            throw new IllegalStateException(\"Event processing is DISABLED\");\n        }\n        return (verbose ? eventQueueManager.getQueueSizes() : eventQueueManager.getQueues());\n    }\n}\n","sourceCodeStart":116,"sourceCodeEnd":139,"githubUrl":"https://github.com/conductor-oss/conductor/blob/cf7c3e4a8adfb158be778ab1ec525323c363cd3a/core/src/main/java/com/netflix/conductor/service/AdminServiceImpl.java#L116-L139","documentation":"Thrown by AdminServiceImpl.getEventQueues when the EventQueueManager Spring bean is not present (injected as Optional and resolved to null). The event queue manager handles AMQP/SQS/kafka event processing queues. When it's not registered, the event queue inspection API cannot function. This signals that event processing subsystem is not active in this deployment.","triggerScenarios":"Calling the admin API endpoint for event queues (GET /api/admin/event/queues) when the EventQueueManager bean is not on the classpath or not auto-configured. The bean is optional and its absence is tolerated at startup.","commonSituations":"Running a Conductor deployment that doesn't include the events module (no SQS/AMQP/kafka integration). The event subsystem is conditionally disabled via configuration. A custom server build that excluded the events module dependency. Operator checks event queues on a workflow-only deployment.","solutions":["If event processing is needed, add the events module to the server build and configure the event queue provider (SQS, AMQP, kafka).","Check for a property that enables/disables event processing and set it to true if events are required.","If event processing is intentionally not deployed, remove the monitoring/tooling that queries the event queues API.","Use a different monitoring approach (e.g. queue DAO metrics) when the event subsystem is absent."],"exampleFix":"# before — event subsystem not deployed\ncurl http://localhost:8080/api/admin/event/queues?verbose=true\n# 500: Event processing is DISABLED\n\n# after — include the events module dependency in build.gradle\n# implementation project(':conductor-amqp')  // or conductor-aws-sqs, conductor-kafka\n# configure the provider in application.properties","handlingStrategy":"type-guard","validationCode":"// Check event subsystem availability before calling the event queues API\npublic boolean isEventProcessingEnabled(AdminService adminService) {\n    try {\n        adminService.getEventQueues(false);\n        return true;\n    } catch (IllegalStateException e) {\n        return false;\n    }\n}","typeGuard":null,"tryCatchPattern":"try {\n    Map<String, ?> queues = adminService.getEventQueues(verbose);\n} catch (IllegalStateException e) {\n    if (e.getMessage().contains(\"DISABLED\")) {\n        LOGGER.info(\"Event processing is not enabled — no event queues to report\");\n        return Collections.emptyMap();\n    }\n    throw e;\n}","preventionTips":["Include the events module in the build if event-driven workflows are used.","Add a server info endpoint that reports active subsystems.","Guard monitoring dashboards that query event queues with availability checks."],"tags":["admin","event-queue","configuration","optional-bean"],"backgroundTag":null,"analyzedSha":"cf7c3e4a8adfb158be778ab1ec525323c363cd3a","analyzedAt":"2026-08-14T03:33:19.897Z","schemaVersion":2},"datasetVersion":"2026-08-14T05:17:29.042Z"}