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 Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
6.1.1.1. Kafka Bridge span attributes Copy linkLink copied to clipboard!
The following Kafka Bridge span attributes are deprecated with replacements shown where applicable:
-
http.methodreplaced byhttp.request.method -
http.urlreplaced byurl.scheme,url.path, andurl.query -
messaging.destinationreplaced bymessaging.destination.name -
http.status_codereplaced byhttp.response.status_code -
messaging.destination.kind=topicwithout 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 Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
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.
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.
6.2.2. ZooKeeper-based Kafka clusters no longer supported Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
6.2.3.1. Environment variable configuration provider Copy linkLink copied to clipboard!
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 Copy linkLink copied to clipboard!
Support for MirrorMaker 1 has been removed. From Streams for Apache Kafka 3.0, only MirrorMaker 2 is supported.
6.2.3.3. Kafka MirrorMaker 2 identity replication policy Copy linkLink copied to clipboard!
The mirror-maker-2-extensions component has been removed. Use org.apache.kafka.connect.mirror.IdentityReplicationPolicy instead.
6.2.4. Kafka Bridge Copy linkLink copied to clipboard!
6.2.4.1. OpenAPI v2 (Swagger) Copy linkLink copied to clipboard!
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.