Streaming mainframe transactions out does not mean downstream systems get the facts
Streaming transactions from a mainframe to fraud engines, digital channels and AI agents in real time is no longer technically hard. The hard part is whether each message that leaves represents a business fact that has actually happened, or only that a row in some table has just changed.
That difference decides how much meaning every downstream system has to reassemble on its own, and who is accountable when something goes wrong. I think it is the step most easily skipped when mainframe data is connected to real-time AI: the conversation starts with pipelines and latency, while the question of what counts as one event is left for each downstream team to guess.
One transfer is several row changes in the database
Imagine a bank whose core ledger runs on Db2 for z/OS. A customer uses the mobile app to send money to a payee they have just added. Within a single transaction, the core system updates the account balance, writes a transaction record and perhaps posts a fee. To the business, that is one event. To the database, it is a handful of row changes across several tables.
By default, many change data capture (CDC) tools deliver the second view. Take the open-source Debezium as an example: the documentation for its Db2 connector is clear that every row-level change produces an event, and that by default the changes for each table go to a Kafka topic specific to that table. Transaction begin and end markers can be emitted as separate boundary events, but reassembling those messages into “one transfer” is the consumer’s job.
So the fraud team queries the core database to find out whether the payee is new; the digital channel team keeps a cache in the cloud to avoid querying every time; the AI team builds one more of its own. In a 9 November article introducing the IBM Confluent Premium Package for Z and LinuxONE, IBM describes this as a cost: teams query back into the core system and consume its capacity, maintain shadow caches that drift from the ledger, and end up acting on conflicting versions of the customer. That is a vendor’s framing, but the situation it describes is a familiar one.
Assembling events at the source moves the definition upstream
What IBM’s article proposes is to assemble the event on IBM Z at the moment the transaction commits, and only then send it out: the event already carries the live business context, with a typed data contract and access policies applied. Version 8.4 of the package became available on 4 November; the other capabilities the article mentions are still in preview or on the roadmap.
The article gives an example. An attacker uses a compromised account to send a USD 10 probe transfer to a newly added payee, then a USD 1,000 transfer 38 seconds later. Each looks normal on its own; an overnight batch model would only connect them at 6 a.m. the next day, after the funds have cleared. By sending the event into stream processing at commit, IBM says an alert can fire within 200 milliseconds.
What I take from this example is not really about speed. Two hundred milliseconds is only useful if the event, the moment it arrives, already says “this is a transfer to a new payee”. If downstream receives three row changes and has to query the database twice to work out what they mean, the delay and the inconsistency come back during the reassembly.
Committed does not mean final for the business
Assembling events at the source does not solve everything. IBM’s description notes that if a transaction is rolled back, nothing is emitted, so downstream systems never process cancelled transactions. That handles cancellation in the technical sense.
Cancellation in the business sense is something else. A payment that has already committed may be reversed a few minutes later; a policy change may be sent back after review. In the database these are new transactions that commit successfully, not rollbacks. If a downstream system has already acted on the first event, for example an AI agent that has sent the customer a confirmation, someone needs to have decided in advance which kinds of event mean final, which only mean “received”, and how a later correction is tied back to the original.
None of this is a connector setting. These are business rules. They are often scattered across COBOL programs and operations manuals, and now they have to be written into a contract that downstream teams can read and check.
An event contract is a new interface, and it needs an owner
Whether Kafka runs beside the mainframe or in the cloud is an engineering question with a calculable answer. The harder question is where the definition of each event comes from and who maintains it. Moving the definition to the source means it is defined once and everyone sees the same version. The cost is that the core system team now owns an interface it is answerable for. Renaming a field, adding a status or changing when something counts as final no longer affects one program; it affects every subscriber to that event, possibly including agents that act on their own.
The usual agreement between the mainframe and downstream systems used to be the format of a batch file sent every night. That format typically had an owner, and changes had to be announced. If real-time events are not managed with the same care, a mistaken definition is no longer discovered the next morning; within seconds, every subscriber has acted on it.
That is why, in projects connecting the mainframe to real-time AI, the work that most needs to be scheduled early is not building the streaming platform. It is getting the business and the core system team to agree, in writing, on what it means for something to count. If that step is left until after go-live, the cost will not show up on an architecture diagram. It will show up the day a customer receives a confirmation for a payment that has already been reversed, and nobody can say which side was responsible.
These are my personal views and do not represent IBM. For product details and timelines, IBM’s public information is authoritative.