Apache Kafka data lifetime and harvest now decrypt later risk

Kafka data that must stay confidential for years is exposed to harvest now, decrypt later attacks on its RSA and elliptic-curve TLS keys today, and Kafka 4.4 offers no documented way yet to select hybrid post-quantum key exchange.

On this page

How long must Apache Kafka data stay confidential, and does the risk apply to your topics?

Topics and streams that carry data with a long confidentiality lifetime, such as personal records, contracts or health data that must stay private for many years, are exposed on every link that carries them. In Apache Kafka 4.4.0, released October 22, 2026 and the latest release as of December 3, 2026, the default TLS settings for brokers do not select post-quantum key exchange: ssl.protocol defaults to TLSv1.3 and ssl.enabled.protocols to TLSv1.2,TLSv1.3, and ssl.cipher.suites defaults to whatever the JVM offers. The documented example PKI uses RSA for broker keys and a 4096-bit RSA certificate authority, so the certificates on these links depend on RSA. KIP-1376 proposes a ssl.named.groups setting that is still in discussion with no target release, and KAFKA-20728, opened June 22, 2026, reports that SslEngineBuilder never calls SSLParameters.setNamedGroups(), so hybrid key exchange such as X25519MLKEM768 cannot be negotiated today. The sources listed on this page do not say whether a later release changes this, so confirm the current status of both items before you plan.

For a data owner, the migration order should follow the confidentiality lifetime of the data, not the Kafka release calendar. Start by listing which topics and Connect pipelines carry data that must stay confidential for longer than the migration will take, and record the listener protocol and the client authentication path for each. Check the security.inter.broker.protocol and listener.security.protocol.map values, because a link on PLAINTEXT or SASL_PLAINTEXT has no TLS confidentiality to protect at all. Then check whether long-lived topics are readable through paths that use SCRAM, GSSAPI or OAUTHBEARER with JWKS validation, since those depend on the same public-key machinery. Delegation tokens are another item to record, because delegation.token.secret.key is stored as plain text in server.properties.

Where a topic's data must stay confidential for many years, the honest position today is that the Kafka settings listed on this page do not give you a documented post-quantum key exchange option. Record that gap, the owner of each affected topic, and the date you checked it, then ask your Kafka distribution or support contract for a written statement on post-quantum key exchange and certificate signatures in the version you run. Decide now whether those topics need a compensating control, such as shorter retention, encryption of payloads at the application layer under a key managed outside Kafka, or a narrower network path, while you wait for upstream support.

Which Kafka 4.4 settings carry data over public-key links

This table lists the Kafka 4.4 settings that decide which public-key algorithms protect client, inter-broker and Kafka Connect traffic, with the source for each default. Read the rows as the current configuration surface: the settings below choose protocols, cipher suites, authentication mechanisms and certificate checks, and the last rows show that no documented Kafka 4.4 setting selects TLS key exchange groups. Use the table to scope which links carry long-lived data that needs a post-quantum plan.

Setting or componentKafka 4.4 default or statusWhat it governsSource
ssl.protocol (broker)TLSv1.3Default TLS protocol version for broker SSL connectionsKafka 4.4 broker configs
ssl.enabled.protocols (broker)TLSv1.2, TLSv1.3TLS versions a broker will negotiateKafka 4.4 broker configs
ssl.cipher.suites (broker)Empty list, so all JVM cipher suites are allowedCipher suites offered, including any key exchange and signature choicesKafka 4.4 broker configs
security.inter.broker.protocolPLAINTEXT, with SSL, SASL_PLAINTEXT and SASL_SSL as other valuesProtocol between brokers; cannot be set together with inter.broker.listener.nameKafka 4.4 broker configs
sasl.enabled.mechanismsGSSAPI (Kerberos)SASL mechanisms accepted by brokers; PLAIN, SCRAM and OAUTHBEARER are also documentedKafka 4.4 broker configs; Kafka 4.4 SASL docs
ssl.client.authnoneWhether clients must present an X.509 certificate to the brokerKafka 4.4 broker configs
Example PKI in the TLS documentationkeytool RSA keys; openssl 4096-bit RSA CA with SHA-256Documented example certificates depend on RSA signaturesKafka 4.4 SSL docs
Hostname verificationEnabled by default (ssl.endpoint.identification.algorithm = https)Client and inter-broker certificate identity checks rely on X.509 certificatesKafka 4.4 SSL docs; Kafka 4.4 broker configs
Kafka Connect REST and TLSssl.protocol TLSv1.3; ssl.enabled.protocols TLSv1.2, TLSv1.3; REST listener TLS settings for the Connect REST interface; HTTPS can be enabledKafka 4.4 Connect configs
ssl.named.groups (KIP-1376 and KAFKA-20728)No setting in 4.4; KIP-1376 status In Discussion and KAFKA-20728 status Open, both with no target release as of December 3, 2026Would select TLS key exchange groups such as hybrid X25519MLKEM768; not negotiable through Kafka 4.4 configKIP-1376; KAFKA-20728; Kafka 4.4 broker configs

Why recorded Kafka traffic can be decrypted later

An attacker who records Kafka TLS sessions today can decrypt them later if the key exchange in those sessions used classical public-key algorithms and a capable quantum computer becomes available. The recording itself needs no special access beyond the network path, and the danger lies in the handshake: a session that is protected only by a classical key exchange can have its session keys reconstructed once that computer exists. Kafka does not change this by itself. The Kafka 4.4 broker configuration reference sets ssl.enabled.protocols to TLSv1.2,TLSv1.3 and ssl.protocol to TLSv1.3, and leaves ssl.cipher.suites as an empty list, which means the cipher suites are whatever the JVM supports. The key exchange that results depends on the JVM and on the peers, so the reader has to confirm it rather than assume it.

The sources listed on this page do not give a date for when such a computer would exist, and they do not say how long Kafka traffic must stay confidential. That horizon has to come from your own data owners and records policy. For each topic, ask how long the payload stays sensitive, how long it is retained in the cluster and in backups, and whether it would still matter if disclosed years from now. Topics that carry personal, financial or health data with long retention periods are the first candidates for early migration of the links that carry them. Topics with short retention and low sensitivity can usually follow a later schedule. Record the horizon you chose and the reasoning behind it, because the migration order on this page depends on it.

Before setting that order, run a check on your own clusters. Confirm the TLS protocols and cipher suites that actually negotiate on client listeners and inter-broker links, and the JVM version that performs the handshake, since the JVM determines which key exchange groups are available. The Kafka 4.4 documentation does not expose a setting for selecting TLS key exchange groups, and KIP-1376 and KAFKA-20728 describe that gap as still open when this page was checked on December 3, 2026. Note which links carry long-lived sensitive data and which do not, so the later sections on inventory and upgrade effort start from a concrete list.

Where a Kafka session's key exchange is set and where it is not

The diagram follows one client connection from the TCP connect to the broker's TLS listener, then through the SASL exchange above it. The key exchange step is the one that cannot be configured: Kafka 4.4 has no ssl.named.groups setting, and KAFKA-20728 reports that SslEngineBuilder never calls SSLParameters.setNamedGroups(), so hybrid groups such as X25519MLKEM768 cannot be selected. The certificate chain and the SASL mechanism are both configurable, and both are listed in the broker settings on the diagram's path. Check each stage against the broker's own configuration and the JVM version it runs on.

Key exchange is fixed by the JVM, while the certificate chain and SASL layer are configurable.

Which Kafka links carry long-lived confidential data

Kafka links differ in how long the data they carry must stay confidential. Event streams and retained topics often hold data for years, so the listeners, credentials and admin paths that protect them set the migration priority. The cards below list each link, the default setting that governs it in Apache Kafka 4.4, and what to check first.

Client-to-broker listener

This link carries producer and consumer traffic, including every event payload in a topic. Its protection is set by listener.security.protocol.map and ssl.protocol, and in 4.4 ssl.protocol defaults to TLSv1.3 with ssl.enabled.protocols set to TLSv1.2,TLSv1.3. Anything recorded from this link can be decrypted later if the key exchange is broken, so check which listeners use SSL or SASL_SSL and which ones still allow PLAINTEXT.

Kafka 4.4 broker configs

Inter-broker listener

Brokers replicate partitions over this link, so every retained message crosses it, often more than once. In 4.4, security.inter.broker.protocol defaults to PLAINTEXT, and it cannot be set together with inter.broker.listener.name. Confirm this value on each cluster, because a PLAINTEXT default leaves replicated topic data readable on the network for as long as the data is retained.

Kafka 4.4 broker configs

SASL credentials and JWT validation

SASL mechanisms protect login secrets and tokens, and OAUTHBEARER validates JWTs against keys fetched from sasl.oauthbearer.jwks.endpoint.url. The default GSSAPI mechanism relies on Kerberos. The sources do not describe post-quantum signature support for JWT validation, so confirm the signing algorithm your identity provider uses with its vendor. The Kafka documentation says OAUTHBEARER in production should run only over TLS.

Kafka 4.4 SASL docs

Delegation token secrets in server.properties

Delegation tokens are shared secrets between brokers and clients that rely on SASL/SCRAM. The key delegation.token.secret.key defaults to null, which disables delegation tokens, and the Kafka documentation says the value is stored as plain text in server.properties. Anyone who can read that file can mint tokens, so check file permissions and whether the feature is enabled at all.

Kafka 4.4 SASL docs

Kafka Connect REST and broker links

The Connect REST listener defaults to and it can use HTTPS, which carries connector configs that often include database and cloud credentials. Connect workers also connect to brokers with security.protocol defaulting to PLAINTEXT and sasl.mechanism` defaulting to GSSAPI. Check whether the REST listener is HTTPS-only and whether worker-to-broker links use SSL or SASL_SSL.

Kafka 4.4 Connect configs

How the migration horizon changes by data type

Operational topics carry events whose value expires quickly, such as health checks, metrics, transient status updates and short-retention logs. If an event recorded today can only be read usefully for a short window, an attacker who captures the traffic and later breaks the key exchange gains little. These listeners can usually move on the normal upgrade schedule once the broker and client stack supports the algorithms you choose, rather than ahead of the rest of the estate.

  • Short retention windows: Confirm the retention setting for each topic in your environment, since the value of the data drops as retention expires.
  • Lower migration urgency: Place these listeners after topics whose data must stay confidential for longer.
  • Same TLS path: The brokers and clients still negotiate TLS with the same settings, so the listener still needs an inventory entry.
  • Certificate and signature dependencies: Certificates and client authentication still rely on RSA or elliptic-curve keys, even when the data is short-lived.
  • Operational review: Record the owner and retention of each topic so the decision can be revisited.

Before you deprioritize a listener, check with the topic owners that no consumer replays older events for audit or reconciliation, because that would extend the data's useful life.

How to rank Kafka links for migration by data lifetime

This sequence sorts every Kafka listener and client path by how long the data it carries must stay confidential, so migration effort goes first to links whose traffic could be recorded now and decrypted later. It ends with a dated, evidence-backed priority list that the data owner, security lead and platform team can all sign.

  1. Inventory topics and retention by confidentiality need

    The data owner lists every topic and any Kafka Connect or Schema Registry flow that carries sensitive data, and records how long each must stay confidential and how long it is retained on the brokers. Ask the owner to classify each topic by the period over which exposure would cause harm, not only by its current sensitivity. The output is a topic register with a confidentiality period and retention period per row. The step is done when every topic has an owner-signed entry and no topic is left unclassified.

  2. Map each listener's security protocol and TLS settings

    The platform engineer reads listener.security.protocol.map and the listener definitions in each broker's configuration, then records for each listener whether it uses PLAINTEXT, SSL, SASL_PLAINTEXT or SASL_SSL. For listeners that use TLS, record the effective ssl.protocol, ssl.enabled.protocols, ssl.cipher.suites and ssl.endpoint.identification.algorithm values, noting that the broker defaults are TLSv1.3 with TLSv1.2 also enabled and an empty cipher list. The check is a listener table that shows the value actually in effect on each broker, verified against the running configuration rather than the file alone.

  3. Link each listener to the topics it carries

    Using the topic register and the listener table, the platform engineer maps which listeners and which client applications carry each sensitive topic, including inter-broker traffic and Kafka Connect REST and broker connections. A topic that crosses several listeners takes the exposure of its weakest path. The output is a matrix from topic to listener to client, and the step is complete when every sensitive topic has at least one traced path with no unknown hop.

  4. Record certificate algorithms and key sizes

    The PKI or security engineer records the signature algorithm, key type and key size of each broker keystore certificate, each truststore CA and each client certificate used on the mapped listeners. The Kafka TLS documentation's example PKI uses RSA keys and SHA-256 signatures, so confirm what your own environment issued rather than assuming the example. Note the keystore type in use (JKS, PKCS12 or PEM). The output is a certificate inventory with algorithm, key size, expiry and issuing CA, and the step is done when every certificate on a mapped listener appears in it.

  5. Record SASL mechanisms and client authentication

    For each SASL-enabled listener, the security engineer records the mechanisms in use (GSSAPI, PLAIN, SCRAM-SHA-256, SCRAM-SHA-512 or OAUTHBEARER) and whether ssl.client.auth is set to none, requested or required. Check whether delegation tokens are enabled and whether delegation.token.secret.key is set, because the Kafka documentation says that value is stored as plain text in server.properties. Confirm that PLAIN and SCRAM listeners are protected by TLS, and that any OAUTHBEARER listener validates tokens against a JWKS endpoint rather than the unsecured default. The output is a per-listener authentication record that the security lead can review.

  6. Confirm the Kafka version and any named-group support

    The platform engineer records the exact Kafka version and build running on each broker, Connect worker and client application, and compares it with the Kafka 4.4.0 release listed on the downloads page. Where a 4.4 line is in use, confirm from the 4.4 broker configuration reference that no ssl.named.groups setting exists, because KIP-1376 and KAFKA-20728 are not implemented there. For clients on Java versions below those needed for the JVM named-group API, record the runtime version. The output is a version inventory that states whether any listener can select key exchange groups, and the step is done when every component has a recorded version.

  7. Rank links and set a review date against vendor statements

    The security lead combines the confidentiality period from step one with the cryptographic inventory from the steps above, and ranks each listener path so that links carrying long-lived sensitive data and relying on RSA or elliptic-curve certificates appear first. The lead then checks the current Apache Kafka statements and open issues on the sources named on this page, and sets a review date on which the ranking is re-checked against any new project position. The output is a signed priority list with a stated review date. The step is done when the list is approved and the review date is recorded in the risk register.

What Apache Kafka has not published about post-quantum key exchange

The Kafka 4.4 broker reference and the sources listed on this page do not document a way to choose post-quantum TLS key exchange groups or any post-quantum signature support. Each card below is an open point for the Apache project or your Kafka distributor, with what to ask and what to confirm before you plan a change.

No ssl.named.groups property

The Kafka 4.4 broker configuration reference, as read on December 3, 2026, lists no ssl.named.groups setting. Kafka therefore has no documented property for choosing TLS key exchange groups, and hybrid groups such as X25519MLKEM768 cannot be selected through configuration. Ask the project or your distributor whether any setting exists in a later release or in a patched build, and confirm the exact version you run before you rely on it.

Kafka 4.4 broker configs

KIP-1376 still in discussion

KIP-1376 proposes an ssl.named.groups list, empty by default so that JVM default groups are used. Its page showed the status In Discussion with no target release on December 3, 2026. The proposal also notes that post-quantum groups need Java 27 or a vendor backport that includes JEP 527, and that Kafka clients support Java 11 and servers Java 17. Ask the project for an accepted status and a target release, and ask your distributor which JVM build you would need.

KIP-1376 page

KAFKA-20728 open without a fix version

Issue KAFKA-20728, opened June 22, 2026 by an external reporter, states that the SslEngineBuilder does not call SSLParameters.setNamedGroups() and that hybrid key exchange such as X25519MLKEM768 therefore cannot be negotiated. On December 3, 2026 it showed status Open with no fix version. Ask the project whether a fix is planned, and ask your distributor whether it carries a backport of that fix in the build you run.

KAFKA-20728 issue

No post-quantum signatures documented

The Kafka documentation pages checked do not describe post-quantum signature support, such as ML-DSA or SLH-DSA, for TLS certificates, SASL or JWT validation. The documented example PKI uses RSA keys and SHA-256 signatures, and certificate identity checks depend on X.509 certificates. Ask the project and your distributor which certificate, SASL and JWT signature algorithms they support, and whether any post-quantum option is planned.

Kafka 4.4 SSL docs

No vendor roadmap in listed sources

The sources listed on this page do not contain a post-quantum roadmap, transition guide or deprecation plan from the Apache project. Only the open JIRA issue and the KIP discussion touch the topic, and both cover key exchange groups only. Ask the Apache project for any published roadmap, and ask your distributor for its own written statement, with a date, before you accept that Kafka support exists or is planned.

Kafka downloads

What can go wrong while the migration horizon is unresolved

The most consequential mistake is assuming that a newer JVM turns on hybrid key exchange for Kafka. Java 27 or a vendor backport that includes JEP 527 provides PQC named groups such as x25519_mlkem768, but KAFKA-20728, opened June 22, 2026 and still open with no fix version on December 3, 2026, states that Kafka's SslEngineBuilder does not call SSLParameters.setNamedGroups(), and that Kafka has no ssl.named.groups setting. KIP-1376, which proposes that setting, showed the status In Discussion with no target release on the same date. Teams should not record hybrid key exchange as enabled because the runtime supports it. They should confirm with the vendor or project whether the broker and client builds they run can negotiate it, and treat the answer as no until a fix ships.

Version skew adds a second source of error. KIP-1376 notes that Kafka clients still support Java 11 and servers Java 17, and that the proposed feature would therefore need reflection. An inventory that lists one JVM version per cluster will miss client applications that run older runtimes. Each client library, Connect worker and Schema Registry instance should be listed with its own Java version, since they may negotiate different groups or none at all. The Kafka 4.4 broker reference lists ssl.cipher.suites as empty, meaning every cipher suite the JVM offers is allowed, so the same settings can produce different outcomes on different runtimes.

Custom SslEngineFactory implementations carry their own risk. The Kafka TLS documentation says third-party libraries such as BouncyCastle can be integrated through ssl.engine.factory.class, and the default ssl.secure.random.implementation is null. A custom factory can change which key exchange, signature and random number sources are used, and nothing in the standard configuration reference shows that behaviour. Before relying on one, confirm its version, its supported groups and its SecureRandom source, and review how it interacts with ssl.keystore.type, which defaults to JKS. Delegation token secrets need separate attention: the SASL documentation states that delegation.token.secret.key is stored in plain text in server.properties. Restrict read access to that file and to the hosts that carry it, and treat any rotation of those secrets as part of the migration plan, not a separate task.

Questions data owners ask about Kafka and harvest now, decrypt later

Is Apache Kafka quantum safe?

The sources listed on this page do not show that Apache Kafka 4.4 supports post-quantum key exchange. Kafka 4.4 has no documented setting for choosing TLS key exchange groups, so hybrid key exchange such as X25519MLKEM768 cannot be selected through configuration. A tracking issue, KAFKA-20728, opened on June 22, 2026, reports that this capability is missing and showed no fix version when checked on December 3, 2026. The documented TLS example also depends on RSA certificates. Treat Kafka as not documented as quantum safe, and confirm the current status with the Apache Kafka project before making any claim to a data owner or auditor.

Which Kafka release should we plan the post-quantum work around?

Plan around the current release line and check the project's release notes before committing a date. The Kafka downloads page listed Apache Kafka 4.4.0, released October 22, 2026, as the latest release as of December 3, 2026. The key-exchange capability discussed in KIP-1376 needs Java 27 or a vendor backport that includes JEP 527, and KIP-1376 itself was still in discussion with no target release. Your plan should therefore name the Kafka version you run, the JVM version under it, and the release in which named-group support lands, once that is published.

Will moving Kafka to post-quantum cryptography cost extra?

The cost depends mostly on your Java runtime, your certificate chain and your client estate, not on a Kafka license, since Apache Kafka is open source. Costs that tend to recur are the Java upgrades, the certificate authority that issues the replacement certificates, and the testing of every client library in the TLS path. Costs that are usually one-time are the initial inventory and the first round of configuration changes. The sources on this page do not give any price or effort figure for this work, so ask your internal platform team and any services provider for a written scope that separates these components.

Which Kafka data should we move to post-quantum protection first?

Start with the topics and connections whose data must stay confidential for the longest period. The harvest-now, decrypt-later concern applies to traffic recorded today that could be decrypted later, so event streams with long confidentiality lifetimes come first. Rank them by how many years the data must remain secret, then by how exposed the link is. Inter-broker traffic, client connections that cross networks you do not control, and Kafka Connect REST endpoints using HTTPS are the links to review in that order. Use the retention settings and data classifications your organization already maintains to set the ranking.

What should we ask Apache Kafka or our vendor about post-quantum support?

Ask for a written statement on whether any released version supports post-quantum or hybrid key exchange, and which setting enables it. Ask whether the project plans a fix for KAFKA-20728 and in which release. Ask whether post-quantum signatures such as ML-DSA are planned for certificates, SASL and JWT validation, because the documentation checked does not describe them. If you buy Kafka through a distribution or managed service, ask the same questions of that provider and request the dates it has published. Record each answer with the date it was given.

Can our team run the post-quantum review ourselves, or do we need outside help?

Your team can run the inventory and the data-lifetime ranking, since both depend on knowledge of your own data and network. Outside help is most useful for the parts that need deeper review: testing the TLS configuration, checking the JVM and certificate chain, and preparing evidence for an assessor. DeployOpen plans, implements, tests and documents self-hosted platforms in your infrastructure and prepares evidence for compliance assessments, but it does not issue audit reports or certifications. A fixed-scope engagement with written deliverables lets you decide which parts to keep in-house.

How DeployOpen helps plan the Kafka data lifetime review

DeployOpen helps data owners and security teams decide how long Kafka topics and their replicas must stay confidential, which links carry that data, and how that sets migration priority. The work starts from your retention settings and data classification, not from the cryptography alone, so the review produces a ranked list of topics and links that the owner can act on.

How we scope

  • Confirm which topics, Connect pipelines and Schema Registry subjects hold data that must stay confidential for years.
  • Record retention periods per topic from broker settings and data owner confirmation, not from assumptions.
  • Agree the written scope, deliverables and timeline before any review work begins, with ongoing support available as a retainer.

How we build

  • Map each sensitive topic to the client and inter-broker listeners, SASL mechanisms and TLS paths that carry its records.
  • Note where Kafka 4.4 uses RSA certificates and SCRAM or OAUTHBEARER logins, since those are the dependencies a long-lived record would expose.
  • Rank topics by retention length and sensitivity so migration effort follows the data that must outlive the next key change.

How we hand over

  • Deliver a topic-by-topic register of retention, classification, protocols and the owner responsible for each link.
  • Document open questions, such as whether a named-group setting or post-quantum signature support will exist in your target release, as items to confirm with the vendor.
  • Provide the review in a form your compliance and security teams can file, without any audit report or certification from DeployOpen.

How we support

  • Re-check the register when retention periods change, new topics are added or a new Kafka release is adopted.
  • Retest the affected listeners and clients after configuration changes, with findings and fixes reported back to your team.
  • Keep the register current through a retainer, so migration priority reflects the data your organization holds today.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.