According to Confluent's 2026 Data Streaming Report, data streaming is an investment priority for 88 per cent of the IT leaders surveyed. But as enterprises find more ways to use real-time data, their data teams also have more resources to manage.
Rather than having engineers set up and manage each of these resources individually, enterprises can use GitOps to automate much of that work. One of the nice things about using GitOps for data infrastructure is that if you change a setting and something goes wrong, you've got a record of the previous settings you can go back to.
But what if changing that setting also changes something about the data itself? Does going back to the old settings undo what's happened to the data in the meantime? It's something enterprises need to think about when deciding how much of their data infrastructure they want to manage through GitOps.
What Is GitOps for Data Infrastructure?
With GitOps, rather than going into a system and changing its settings yourself, you make those changes to files kept in a version control system like . It's these files that tell the software managing your systems what their settings should be. The way this works is based on four core principles of GitOps:
- Declarative configuration: You're telling the software what you want the end result to be. How it gets there is up to the software.
- Versioned and immutable: When you change something, you create another version of the file without overwriting its history.
- Automatically pulled: The software goes to wherever you've stored those files to find out what settings it should be using.
- Continuously reconciled: Every so often, the software checks whether the settings you're actually using match the ones you've asked for (your desired state). If they don't, it'll try to put things right.
Data teams can use this approach to manage things like streaming topics (channels through which applications send and receive data), schemas that describe how data is structured, connectors that move data between systems and rules about who can access it. The open-source project Strimzi, for example, supports declarative Kafka topic management.
Data teams can use it to manage the settings of individual topics, including ones that already contain business data. Engineers can then review each other's proposed changes before they're made, use the same settings across different environments and look back through previous versions to see what changed and why.
Why Managing Data Is Different
When we're talking about managing data resources through GitOps, there are actually two different things we need to keep track of:
- Configuration state: How a data resource is set up, including things like how long it should keep records and how those records should be structured.
- Data state: The actual data held within that resource at any given time.
You could go months without changing any of the settings of a data resource. But the data itself is constantly changing as new records are added, existing ones are updated and older ones are removed. Let's say you've set up an Apache Kafka topic to keep seven days' worth of transaction data.
If you look at the Apache Kafka configuration documentation, you'll see that you can set limits on how long Kafka keeps data before deleting it. What happens if someone decides you only need two days' worth of data instead? Kafka can start clearing out records you would've otherwise had for another few days.
It's easy enough to go back into and restore the original setting. But all you're doing is telling Kafka to keep records for seven days again. You're not getting back the records it's already deleted. And this is where managing persistent data (data that needs to be kept beyond the lifetime of the processes that use it) gets a little more complicated.
Why AI Redefines Data Governance
AI’s scale and speed turn minor data issues into systemic risk, demanding a new governance model beyond dashboards and reports.
You've got a history of your settings in , but you don't necessarily have a history of the data itself. Whether you can get that data back depends on what else you've done to protect it.
When GitOps Changes Put Data at Risk
Of course, not every change to a data resource is going to put the data at risk. It depends on what you're changing and what the data platform does when that change is made.
Changes that can permanently affect data
Changing how long a platform keeps data isn't the only way you could accidentally lose it through automated configuration management. Some GitOps tools use something called pruning. This means that when you remove the definition of a resource from , the software can automatically remove that resource from the live system.
Depending on how the data platform handles this, you could end up deleting both the resource and all the data it contains. Something similar can happen when you change a database schema. If you remove a column from a database table, you could also lose all the information that was stored in that column.
But think about why someone might remove a resource definition from . They could simply be reorganising the files or moving responsibility for that resource to another team. They might have every intention of keeping the data. The software applying those changes won't necessarily know the difference.
Changes that affect how data is used
You might have several applications sending data to a resource (producers) and several others reading that data (consumers). And if you change the way that data is structured, you need to make sure all those applications can still work with it. Confluent's Schema Registry, for example, supports different types of schema compatibility.
Rethinking Archives for AI
How RAG, archives and metadata reshape storage tiers, retrieval speeds and governance as enterprises align infrastructure with AI.
Data teams can set rules to check whether applications using a newer version of a schema can still read older records, or whether applications using an older version can read newer records. Without these kinds of checks, you could make a change that leaves an application unable to read some of the data it receives.
The data's still there, but some of the people or applications that need it might no longer be able to use it.
When correcting configuration drift creates problems
When the settings of a live system differ from the settings it's supposed to have, we call it configuration drift. One of the benefits of GitOps is that it can correct these differences for you. But sometimes there's a good reason why someone has changed a setting. Let's say an application goes offline for a while.
A data engineer might temporarily increase the amount of time a streaming topic keeps records so that the application can catch up on everything it's missed once it's back online. But unless the engineer also changes the settings in or temporarily stops the software from enforcing them, GitOps could change the retention period back again. And it could do so before the application has had a chance to catch up.
How to Use GitOps Safely for Data Infrastructure
None of this means enterprises need to avoid using GitOps to manage their data resources. They do, however, need to think a little differently about how they decide which changes to make and how much of that work they want to automate.
Decide which changes can be automated
A good place to start is to look at the kinds of changes your data engineers make regularly and what could happen to the data when they make them. Changing the description of a data resource, for example, is something you could probably automate.
Changing how long you keep customer transaction records might need to involve someone who understands the business or legal reasons for keeping those records. Confluent recommends using separate delivery pipelines for streaming resources and the infrastructure they run on.
When AI Agents Never Forget
Unpacks hidden risks in long-term AI memory, including residual data trails, failed deletions and compliance blind spots.
This also means enterprises can have different rules about who needs to approve changes to each. You can even use software to check proposed changes against some of your data governance policies.
The Atlas operator, for example, lets teams set rules for database schema changes that prevent certain destructive changes from going ahead automatically or require someone to review them first.
Control how changes are applied
If you're bringing existing data resources under GitOps management, start by checking that the settings you've put in match the ones those resources are currently using. You don't want to accidentally change something about a resource just because you've changed how you're managing it.
It's also worth checking what happens when you remove a resource definition from . With tools like Argo CD, you've got some control over automated resource pruning. You can, for example, tell the software to wait for someone to give it the go-ahead before it deletes certain resources. Find out what the data platform does when it receives a request to delete a resource, too.
What you want is a way of taking a resource out of GitOps management while leaving the resource and its data where they are. Think about the order in which changes need to happen, too. If several applications need to be updated to work with a new data schema, you might need to introduce those changes gradually.
And make sure your engineers know how and when they're allowed to temporarily stop automated reconciliation if they need to make emergency changes.
Verify what happens to the data
Your GitOps software might tell you that a change has gone through without any problems. But what about the applications that were using that resource before you changed its settings? Think about what you'd expect to see happen to the data once the new settings are in place. Depending on what you've changed, you might want to ask questions like:
When Legal Becomes a Data Risk
Why law-firm cybersecurity is now a board-level data governance issue, and how to assign accountability for shared sensitive information.
- Are the applications that were writing data to the resource before the change still able to do so?
- What happens when an application tries to read a record created before or after the change?
- Is all the data you're supposed to have still there?
- Are applications receiving data as quickly as they need it?
Where possible, build these data validation checks into your automated processes. You can then use the results to decide whether it's safe to go ahead with any other changes you'd planned.
Plan for recovery beyond
If there's a chance you'll lose some data when you make a change, work out beforehand where you'd get another copy of that data from and how long you'd need to restore it. PostgreSQL, for example, supports point-in-time database recovery. This allows you to use a backup and a record of changes made to the database to rebuild it as it was at a particular point in time.
With streaming data, you might be able to recover records by replaying events from a separate archive. But what about all the new data that's been added since the change was made? If you restore a database to the way it was yesterday, you'll also need a way of keeping or recovering the records that have been added since then.
Test your data recovery processes alongside your configuration rollback procedures. It'll help you work out which changes you can recover from and which ones you might not want to automate at all.
Final Thoughts: Managing Configuration Isn't Enough
There's a lot to like about using GitOps for data infrastructure. It can take some of the everyday work off your data engineers' hands and make it easier for them to manage resources consistently. But how safely you can use it depends on what you've put in place to look after the data itself.
And as we find more ways to automate different parts of the data lifecycle, we'll also need to think about which decisions we're comfortable letting software make about our data. It's a conversation that goes well beyond GitOps, which is why we'll continue looking at how new approaches to data engineering and management are changing the decisions enterprise data leaders need to make here at EM360Tech.
Comments ( 0 )