Modernising how systems connect

Governing Kafka and event streams, and keeping the cluster count down

Kafka started as one team’s project and became the backbone of half the business. Now every team wants its own cluster so it cannot be affected by anyone else, access rules are set topic by topic by whoever knows how, sensitive fields travel in plain text, and the infrastructure bill rises with every new cluster. The APIs have a gateway. The event streams have a spreadsheet.

How do you govern Kafka across many teams without more clusters?

Put a gateway between the Kafka clients and the clusters, just as you would for APIs. The gateway checks who is producing and consuming, applies access rules, validates messages against their schemas and encrypts or masks sensitive fields, so governance is set once rather than reimplemented by each team.

The same gateway can present each team with its own virtual cluster, isolated from everyone else, while the physical clusters behind are shared. Teams get the separation they wanted, and the organisation adds infrastructure when load needs it rather than every time a new team arrives.

Kafka governed through Kong Event GatewayA payments team, a fraud team and a web app over HTTP produce and consume through Kong Event Gateway, which applies ACLs on who reads and writes, encryption and field masking, schema validation and a virtual cluster per team. Behind it, two shared Kafka clusters carry every team, with capacity added for load rather than for each new team.SHARED CLUSTERSPaymentsteamFraudteamWeb appover HTTPKONG EVENT GATEWAYACLswho reads, who writesEncryptionfields maskedSchemasvalidated on produceVirtual clustersone per teamCluster AsharedCluster BsharedCapacity added for load, not for each team
Illustrative. Each team sees its own virtual cluster, and the physical clusters behind are shared.

How Kong solves it

Kong Event Gateway, and Kafka through Kong Gateway

Kong launched Event Gateway in May 2025 to bring Kafka under the same control plane as APIs and AI traffic.

Virtual clusters

Kong Event Gateway presents virtual clusters that Kafka clients connect to as if they were ordinary clusters, each mapped to a physical cluster behind, so teams are isolated without each needing their own infrastructure.

Access control

An ACL policy controls who can produce to and consume from each topic, set centrally in Konnect rather than cluster by cluster.

Encryption and masking

Encryption and decryption policies, field level encryption and field masking on produce and consume protect sensitive data in the stream itself.

Schema validation

Schema validation on produce and consume stops malformed messages entering a topic, and record transcoding converts formats on the way through.

Lower Kafka cost

Kong positions virtual clusters as a way to reduce Kafka spend: teams get isolated environments without paying for separate clusters, and partitions are added when load and throughput require it.

Events as APIs

On Kong Gateway, the Kafka Upstream, Kafka Consume, Confluent and Confluent Consume plugins let web and mobile clients produce and consume events over HTTP, server sent events or WebSockets.

Sources: Kong, Event Gateway launch, May 2025; Kong, Event Gateway documentation; Kong, reduce Kafka cost; Kong, Confluent Consume plugin.

What C4C does

One set of rules for streams and APIs

Official Kong partner in the UK

We map the Kafka estate as it stands: clusters, topics, teams, access rules and the data that needs protecting. Then we design the virtual cluster layout and policies, put Kong Event Gateway in front, and move teams onto it, so governance is consistent and new teams stop needing new clusters.

Because Event Gateway is managed from the same Konnect control plane as your APIs and AI traffic, one platform team can run all three. As an official Kong partner in the UK we supply, implement and support Kong.

Talk to us

Bring the event streams under control

  1. Tell us roughly how many Kafka clusters, topics and teams you have, and which managed service or distribution you run.
  2. We come back with a virtual cluster and policy design and where it reduces cluster count.
  3. We implement Kong Event Gateway with your platform team and move teams onto it in order.

We reply within one working day. Prefer email? Write to us at hello@c4cgroup.co.uk.

Prefer email? Write to us at hello@c4cgroup.co.uk.

Questions

Governing Kafka and event streams: frequently asked questions

What is Kong Event Gateway?

A Kafka proxy managed from Kong Konnect. It sits between Kafka clients and clusters and applies access control, encryption, masking, schema validation and virtual clusters, so event streams are governed like APIs.

Does Kong Event Gateway replace our Kafka platform?

No. It sits in front of the Kafka clusters you already run and governs the traffic to them. Your Kafka platform continues to store and serve the events.

How do virtual clusters reduce Kafka cost?

Each team gets an isolated virtual cluster while sharing physical clusters behind the gateway, so you add capacity when load requires it rather than a new cluster for every team that wants isolation.

Can web applications consume Kafka events through Kong?

Yes. On Kong Gateway, the Kafka and Confluent plugins let clients produce and consume over HTTP, and Confluent Consume supports server sent events and WebSockets for streaming to browsers and apps.

Related Kong use cases

Further reading