Skip to main content

Integrations Inventory

Integration interfaces are what systems offer. The integrations inventory records who actually uses them: which system consumes which interface. Which data moves between systems as a result is recorded as data flows, part of the data lineage.

Without it, every change becomes a guessing game. Nobody can say who will break if an API changes, a file stops arriving or a topic is renamed.

Interfaces and integrations​

The difference is the same as between a road and the traffic on it:

Integration interfaceIntegration
What it isA building block offered by one systemThe use of an interface by a consumer
Recorded withThe providerThe provider, the interface and the consumer
Exists without consumersYesNo
Main questionWhat can we build on?Who depends on whom?
Changes whenThe provider changes its offerA consumer starts or stops using an interface

Technical dependencies​

An integration is a technical dependency: system A consumes interface X of system B. This is what Backstage records with consumesApis and providesApis, and what the TOGAF Application Interaction Matrix shows. It is what impact analysis needs: who will break if this interface changes or is retired?

Technical dependencies can largely be harvested instead of documented by hand:

  • API gateways know which consumer applications are subscribed to which APIs.
  • Kafka clusters know which consumer groups read which topics, and access control lists say who may.
  • Distributed tracing in observability tools shows which services actually call each other.
  • Systems can declare what they consume in their own catalog descriptors.

From dependencies to data flows​

Technical dependencies say which system uses which interface. They do not say which data moves where, and why. That business view is recorded as data flows, the steps of the data lineage in the data part of the repository. Each data flow is realized by one or more integrations recorded here.

Governance styles​

Different kinds of integrations are governed in different ways. Each style records the integrations as a side effect:

Governance styleTypical forHow consumers are registeredWhat it records
API access governanceSynchronous APIsConsumers request access and get credentials, scopes or a subscription through API managementWhich application uses which API, with which permissions
Topic access and lineageEvent streamsProducers and consumers are authorized per topic (see govern events like APIs), and lineage is collected from the streaming jobsWhich systems publish and read which topics, and how data moves through processing steps
Producer and consumer contractsData products, files, data pipelinesConsumers rely on a data contract, and register as consumers in the data catalogWhich data sets each consumer depends on, and the guarantees they rely on

Data lineage is collected automatically by many data platforms and catalogs. OpenLineage is an open standard for collecting lineage metadata from data jobs, supported by a growing number of tools. Lineage is described in Data Lineage.

Where no governance process exists, for example for file transfers with partners or legacy point-to-point integrations, the integrations must be documented by hand. These are usually also the integrations that are most at risk.

What to record​

AttributeExample
InterfaceThe integration interface used, with its provider
ConsumerThe consuming system and team
PurposeBilling needs customer addresses to send invoices
Data flowsThe data flows this integration realizes
Frequency and volumeReal time, hourly, nightly; messages or records per day
CriticalityWhat happens to the consumer's business process if the integration fails
AccessThe credentials, scopes or contract that grant access, where relevant
Lifecycle statusPlanned, active, being migrated, retired

Common pitfalls​

Many integration problems start with a consumer using an interface that was never meant for it. Such integrations work at first, and then break the moment the provider changes something it considered internal.

  • Integrating with a private interface. Another system's internal API or private events are free to change without notice, because the owning team does not know anyone else depends on them. Before integrating, check that the interface is public and governed: documented, versioned and owned with other consumers in mind.
  • Integrating with a backend for frontend. A backend for frontend (BFF) is an API built for one specific user interface, and it changes whenever that user interface does. Its data is shaped for screens, not for other systems. Another team or company that integrates with it ties itself to someone else's release cycle.
  • Integrating through the database. Reading another system's tables, or worse, writing to them, turns the provider's internal schema into a contract that nobody agreed to. The provider can no longer change its own database without breaking others, and writes bypass its business rules. The same applies to consuming raw change data capture streams as if they were public events.
  • Partners on internal interfaces. An external partner or customer given access to an internal API, because it was quicker than offering a proper one, makes an internal interface part of a commercial relationship. Changing it now needs negotiation, not just a release.
  • Shadow consumers. Consumers that share credentials, or reuse another system's API key, do not appear in any subscription list. Nobody knows they exist until they break. Give every consumer its own credentials, so that the integrations inventory can be harvested from the API gateway and the event platform.
  • Building a new integration instead of reusing one. A team builds another point-to-point export because it did not know that a public interface with the same data already exists. Check the interface catalog first.
  • Integrations that are never retired. Integrations stay in place long after their purpose is gone, still moving data, sometimes personal data. Record the purpose and the owner of each integration, and review them when systems change.

When such an integration already exists, record it anyway. A known problem can be planned away, for example with an exception that has an end date and a public interface to migrate to. An unknown one breaks without warning.

Questions the integrations inventory can answer​

  • Who consumes this API or topic, and who will break if it changes?
  • Which integrations must be migrated before a system can be retired?
  • Which integrations bypass the guardrails, for example by writing to another system's database?