Chapter 6. Deprecated features


This section lists features that are deprecated (still supported but planned for removal) and removed (no longer supported as of this release) in Streams for Apache Kafka 3.0.

6.1. Deprecated features

Features marked as deprecated are still functional but will be removed in a future release. Plan to update your configurations to use the recommended alternatives.

6.1.1. Kafka Bridge

6.1.1.1. Kafka Bridge span attributes

The following Kafka Bridge span attributes are deprecated with replacements shown where applicable:

  • http.method replaced by http.request.method
  • http.url replaced by url.scheme, url.path, and url.query
  • messaging.destination replaced by messaging.destination.name
  • http.status_code replaced by http.response.status_code
  • messaging.destination.kind=topic without replacement

Kafka Bridge uses OpenTelemetry for distributed tracing. The changes are inline with changes to OpenTelemetry semantic conventions. The attributes will be removed in a future release of the Kafka Bridge

6.1.1.2. KAFKA_BRIDGE_METRICS_ENABLED

The KAFKA_BRIDGE_METRICS_ENABLED environment variable used to enable metrics for the Strimzi Kafka Bridge is now deprecated. Users who are currently using KAFKA_BRIDGE_METRICS_ENABLED should migrate to using bridge.metrics. Specifically, they should set bridge.metrics=jmxPrometheusExporter in their application.properties file to continue using Prometheus JMX Exporter.

6.2. Removed features

The following features have been removed in Streams for Apache Kafka 3.0 and are no longer supported. Update your implementations accordingly.

6.2.1. Java 11 no longer supported

Java 11 is no longer supported. Use Java 17.

Streams for Apache Kafka 2.9 provides Long Term Support (LTS) if you must continue using Java 11. For information on the LTS terms and dates, see the Streams for Apache Kafka LTS Support Policy.

Note

Support for Java 8 was removed in Streams for Apache Kafka 2.4.0. If you are currently using Java 8, plan to migrate to Java 17 in the same way.

Support for ZooKeeper-based Apache Kafka clusters has been removed. Streams for Apache Kafka now supports Kafka clusters that run only in KRaft mode.

If you are using a ZooKeeper-based Kafka cluster, you must migrate the cluster to KRaft before upgrading to Streams for Apache Kafka 3.0.

6.2.3. Streams for Apache Kafka

The io.strimzi.kafka.EnvVarConfigProvider class is no longer available. Use org.apache.kafka.common.config.provider.EnvVarConfigProvider instead.

Example configuration to enable the environment variable configuration provider

config.providers.env.class=org.apache.kafka.common.config.provider.EnvVarConfigProvider

6.2.3.2. MirrorMaker 1 removed

Support for MirrorMaker 1 has been removed. From Streams for Apache Kafka 3.0, only MirrorMaker 2 is supported.

The mirror-maker-2-extensions component has been removed. Use org.apache.kafka.connect.mirror.IdentityReplicationPolicy instead.

6.2.4. Kafka Bridge

6.2.4.1. OpenAPI v2 (Swagger)

OpenAPI v2 is no longer supported, replaced by OpenAPI v3. The /openapi/v2 endpoint returns HTTP 410 Gone. Both the /openapi and /openapi/v3 endpoints return the OpenAPI v3 definition of the Kafka Bridge REST API.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top