Back to all use cases
Apache KafkaTelecommunications

The brokers can't move until the clients do

A telecom operator runs Kafka 2.8 on ZooKeeper because client libraries embedded in field systems cannot be updated. OSSeva Patch keeps the 2.8 brokers patched while Assure inventories the clients and plans the route to 3.9, KRaft and 4.x.

Challenge

Kafka 2.8 is the last 2.x line. Its final release, 2.8.2, shipped on 19 September 2022, and nothing has shipped for 2.8 since. It runs on ZooKeeper and bundles ZooKeeper 3.5.9, which the ZooKeeper project no longer maintains. Advisories published after 2022 name 2.8.x as affected and have no 2.8 fix.

The brokers are stuck for a reason that has nothing to do with the brokers. The clients in the field are old, and Kafka 4.0 removed the old protocol API versions under KIP-896. The baseline is Kafka 2.1, released in November 2018. Clients older than 2.1 cannot talk to a 4.0 broker, and the 4.0 upgrade notes require Streams and Connect to be on 2.1 or higher too. The trouble is rarely the main Java application. It is the vendor product with an embedded client library, the forgotten batch job, or a non-Java client of similar age.

The road to 4.x also has an order. ZooKeeper has to be on 3.8.3 or higher before a ZooKeeper-based cluster goes to Kafka 3.9. Migration to KRaft happens on 3.9. Only then can the cluster move to 4.x.

Environment

Kafka 2.8.x brokers in ZooKeeper mode, with the ZooKeeper ensemble that came with them, serving a mix of current services and embedded or vendor-supplied clients that nobody on the platform team controls. Some of those clients ship inside field equipment and change only when the equipment does.

The cluster handles production traffic, so a client that stops connecting is an outage, and the inventory of who connects with which library is incomplete.

Options

Upgrade the clients first. This is the cleanest answer, but it depends on field systems and vendors you do not control, so it can take years.

Upgrade the brokers to 3.9 now. This is the nearer stop. It needs the ZooKeeper upgrade first and a test cycle, but it does not by itself need new clients, because the old protocol versions were removed in 4.0, not before.

Stay on 2.8 with no patches. Free today, but every later advisory on 2.8.x goes unanswered.

Hold 2.8 patched while the client estate is inventoried. OSSeva Patch keeps the brokers current on security while the answer to the client question is found, and Assure plans the move.

Approach

OSSeva Patch ships patched, signed Kafka 2.8 builds of the broker and client libraries, delivered from your own repository, and each build ships with an SBOM, VEX statements and a CVE record. Kafka Connect and Streams patches come with Assure. The ZooKeeper 3.5.9 that 2.8 bundles is covered as custom support, because OSSeva patches ZooKeeper 3.4, 3.6 and 3.7 as standard and 3.5 on a custom basis.

OSSeva Assure builds the client inventory while the cluster is still on 2.8, and uses it to plan the route: ZooKeeper to 3.8.3 or higher, brokers to 3.9, KRaft migration on 3.9, then 4.x if the clients allow it. If some clients can never be updated, the plan shows which ones and what staying on a patched 3.9 line involves. Assure also includes 24/7 reactive support, a cluster configuration audit and a compliance attestation package.

The migration itself is planned and run cluster by cluster, with 3.9 as the bridge. OSSeva Operate adds 24/7 monitoring and a 15-minute response to P1 incidents while the move is under way.

What this delivers

Kafka 2.8 brokers that stay patched while the client question is answered, and a written route to 3.9, KRaft and 4.x that shows exactly which clients gate each step. The engagement delivers the inventory, the ordered plan and the patched builds. OSSeva Kafka support is priced per cluster. Book a 15-minute discovery call for a quote.

Go deeper

Questions

Frequently asked questions

Book a 15-minute call

When did Kafka 2.8 reach end of life?

The final 2.8 release, 2.8.2, shipped on 19 September 2022. The Apache project has published no fixes for 2.8 since.

Which clients break on Kafka 4.0?

Clients older than Kafka 2.1, including non-Java clients of similar age. KIP-896 removed the old protocol versions in 4.0, and Streams and Connect must also be on 2.1 or higher before the broker upgrade.

Can we move a Kafka 2.8 cluster straight to 4.x?

No. A ZooKeeper-based cluster goes to 3.9 first, with ZooKeeper on 3.8.3 or higher beforehand, then migrates to KRaft on 3.9, then moves to 4.x.

Does OSSeva patch the ZooKeeper that Kafka 2.8 bundles?

Yes, as custom support. OSSeva patches ZooKeeper 3.4, 3.6 and 3.7 as standard, and the 3.5 line that 2.8 ships with on a custom basis.

See every EOL & CVE-patching use case

All use cases
Book a call