Skip to main content
FlowX.AI 6.1.0 replaces the per-workflow Kafka topics that carry workflow starts and replies with one pair of topics per workspace. This page covers what changes on the Kafka cluster and the steps to upgrade a self-hosted installation from 5.9.x.

What changes

Before 6.1.0, integration-designer created a start topic and a reply topic for every workflow, named after the workflow’s ID: From 6.1.0, every workflow in a workspace shares one pair, named after the workspace’s ID: The ai.flowx. prefix follows your topic naming prefix. Each message carries the workflow’s ID in a header, so the services still know which workflow a message belongs to. Other changes that come with the new topics:
  • Partitions: each topic now has 3 partitions by default, up from 1. A workspace takes 2 × the partition count, 6 by default.
  • Replication factor: topics get the broker’s default.replication.factor, as they already do from 5.9.8.
  • Consumer groups: integration-designer reads start topics with a new consumer group, and process-engine reads reply topics with a new consumer group of its own. The old start-workflows consumer group is no longer used.
  • Configuration: the per-workflow topic pattern variables are removed and new ones replace them. See Configuration changes.

When topics are created

When FLOWX_WORKFLOW_CREATETOPICS is true, integration-designer creates the pair for a workspace:
  • on its first start on 6.1.0, for every workspace that has a deployed application
  • when a workspace is created
If a creation fails, integration-designer tries that workspace again every 5 minutes. When FLOWX_WORKFLOW_CREATETOPICS is false (the default), integration-designer creates nothing. It records the topic names each workspace needs, and you create the topics on the cluster yourself.
A workspace that has no deployed application when integration-designer first starts on 6.1.0 doesn’t get topics on upgrade. Before you run workflows in such a workspace, create its pair yourself.

Before you begin

  • Read the FlowX.AI 6.1.0 release notes and deployment guidelines.
  • Take a backup of PostgreSQL, MongoDB, and the object store right before the upgrade. FlowX.AI doesn’t support rolling back an upgrade.
  • List your workspaces with their IDs. You need them to create topics and grant access when topic creation is off.
  • Plan an upgrade window in which no workflows start. See Why to stop workflow starts.

Prepare the Kafka cluster

1

Grant access on the new topic prefixes

On a cluster with ACLs, such as a managed Kafka service, grant access on these two prefixes, with your naming prefix in front:
  • integration.workflow.workspace. (start topics)
  • engine.workflow.workspace. (reply topics)
integration-designer needs CREATE and DESCRIBE only when it creates the topics. Also allow READ for the new consumer groups. See Configuration changes for their names.
2

Check the partition budget

Each workspace takes 2 × FLOWX_WORKFLOW_TOPICPARTITIONS partitions, 6 by default. Check that your cluster’s partition limit covers every workspace.
3

Create the topics yourself, if topic creation is off

With FLOWX_WORKFLOW_CREATETOPICS set to false, create a start topic and a reply topic for each workspace, using the names in What changes and the partition count you set in FLOWX_WORKFLOW_TOPICPARTITIONS.You can create them before the upgrade from your list of workspace IDs, or after integration-designer starts, from its health endpoint. See Check the topics.

Upgrade the services

1

Stop starting workflows

Pause anything that starts workflows during the upgrade window: user traffic on processes with workflow actions, and integrations that start processes.
2

Upgrade integration-designer first

Upgrade integration-designer and wait until it reports healthy. On its first start it creates or records the workspace topics.
3

Upgrade process-engine

Upgrade process-engine. It starts sending workflow starts to the workspace start topics and reading the workspace reply topics.
4

Resume workflow starts

Once integration-designer and process-engine run 6.1.0 and the topics are in place, resume traffic.

Why to stop workflow starts

From 6.1.0, integration-designer reads only the workspace start topics. Any start message left on, or sent to, an old per-workflow start topic is never processed. This happens to starts sent before integration-designer was upgraded and not yet read, and to starts that a not-yet-upgraded process-engine sends. The new consumer groups also start from the newest messages when they first subscribe, so a start sent to a workspace topic before integration-designer joins it is skipped. Replies don’t need the same care. A reply that an older integration-designer sends on an old reply topic still reaches the upgraded process-engine, so workflows that were already running when you upgraded complete.

Check the topics

integration-designer’s Kafka health check lists the workspace topics in the workflowTopics detail, under in and out. It lists them for every workspace, whether or not integration-designer created them. When any of those topics doesn’t exist on the cluster:
  • it appears in the missingTopics detail
  • the health check reports DEGRADED, with a reason such as 2 out of 40 configured topics missing
It reports DOWN instead when any of the service’s Kafka consumers isn’t running.

Check processes that name a workflow topic

A process that starts workflows with the Start integration workflow action and receives the output through a data stream with Source set to Workflow follows the new topics without changes. A process stops working on 6.1.0 if it names a per-workflow topic itself:
  • a Kafka send action that sends to an ai.flowx.integration.receive.{workflowId}.in topic: nothing reads that topic anymore
  • a data stream with Source set to Custom Topic on an ai.flowx.engine.receive.{workflowId}.out topic: nothing writes to that topic anymore
Change those processes to the Start integration workflow action and a data stream with Source set to Workflow.

Clean up the old topics

After the upgrade, the per-workflow topics are no longer used. Once the old reply topics are empty, delete both kinds:
  • ai.flowx.integration.receive.{workflowId}.in
  • ai.flowx.engine.receive.{workflowId}.out
Keep the ai.flowx.engine.receive. topics that aren’t per-workflow reply topics. process-engine still reads them for other integrations.

Configuration changes

integration-designer

process-engine

application-manager

If you overrode any removed variable, remove the override, and set the matching new variable if you need the same customization. For the full setup reference, see Integration Designer setup and Process engine setup.
Last modified on December 1, 2026