The core system is twenty years old, written in a language few people still know, and it holds the data every new service needs. Replacing it is a multi year programme that keeps being postponed. Meanwhile every new channel, partner and AI project needs to reach it, and each one builds its own fragile way in.
You put a gateway in front of it and give everything that needs it one modern API to call. The gateway handles security, rate limiting and translation between modern formats and old ones, so new channels, partners and agents use a clean interface while the old system carries on unchanged behind it.
From then on, modernisation is a series of small moves rather than one large one. A function is rebuilt as a new service, the gateway sends that route to the new service instead of the old system, and callers never notice. This is the strangler pattern, and Kong describes it as the low risk route to modernisation. Over time the old system shrinks until it can be switched off.
How Kong solves it
Kong Gateway presents REST and gRPC APIs to callers, with gRPC Gateway and gRPC Web plugins, whatever protocol the system behind it speaks.
Datakit, an Enterprise plugin, orchestrates calls to several upstream systems and combines the results, and includes XML to JSON and JSON to XML conversion, so a modern caller never handles the old format.
Rate limiting keeps a system built for hundreds of requests from being flooded with thousands, and XML Threat Protection, JSON Threat Protection and Request Validator stop malformed requests before they arrive.
Callers authenticate with OAuth, OpenID Connect or mutual TLS at the gateway, and the Upstream OAuth plugin obtains the credentials the system behind needs, so old authentication is never exposed.
Each route can be switched from the old system to a new service with a configuration change, rolled back just as quickly, and held as code.
Once a legacy function has a clean API, AI MCP Proxy can publish it as an MCP tool, so agents reach old systems through the same governed front door.
Sources: Kong, enterprise API strategy for legacy modernisation; Kong, Datakit plugin; Kong, Plugin Hub; Kong, AI MCP Proxy plugin.
What C4C does
Official Kong partner in the UK
We map who calls the legacy system today and how, design the API that should replace those calls, and put Kong in front so every new caller uses it from day one. Then we agree with you which functions to rebuild first, based on cost, risk and how often they change, and move them route by route.
This is different from moving off another gateway, which our migration service covers. Here the gateway is new and the thing being modernised is the system behind it. As an official Kong partner in the UK we supply, implement and support Kong.
Talk to us
We reply within one working day. Prefer email? Write to us at hello@c4cgroup.co.uk.
Questions
A way of replacing an old system gradually. A gateway sits in front of it, and as each function is rebuilt the gateway sends that route to the new service. Callers see one stable API throughout, and the old system shrinks until it can be retired.
Yes. Kong’s Datakit plugin converts between XML and JSON and can combine calls to several upstream systems, and XML Threat Protection guards the old system from malformed input, so modern callers use JSON while the system behind keeps its XML.
Yes. Rate limiting at the gateway caps how many requests reach the system, per caller if needed, so a new channel or an AI agent cannot overwhelm a system designed for far less traffic.
No. Migration moves traffic from one gateway product to Kong. Legacy modernisation puts Kong in front of an old system so the system itself can be replaced gradually.
Related Kong use cases
One catalogue of every API with owners and standards, a portal where developers get access themselves, and fewer APIs built twice.
Read the use case →Identity, tool scoping, limits and tracing for agents, MCP servers and agent to agent calls, so pilots can go live.
Read the use case →Keep important business services within tolerance when parts fail, and evidence it, with the API layer mapped and tested.
Read the use case →Further reading