此内容没有您所选择的语言版本。

Chapter 6. Deprecations and removals


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.1. Update your implementations accordingly.

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. Streams for Apache Kafka

A summary of deprecations, removals, and breaking changes for Streams for Apache Kafka 3.x.

6.1.1. Removals

This section lists features removed in this or earlier 3.x releases.

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.

MirrorMaker 1 removed
Support for MirrorMaker 1 has been removed. From Streams for Apache Kafka 3.1, only MirrorMaker 2 is supported.
Environment variable configuration provider

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

config.providers.env.class=org.apache.kafka.common.config.provider.EnvVarConfigProvider
Copy to Clipboard Toggle word wrap
Identity replication policy for Kafka MirrorMaker 2
The mirror-maker-2-extensions component has been removed. Use org.apache.kafka.connect.mirror.IdentityReplicationPolicy instead.

6.1.2. Breaking changes

There are no breaking changes for Streams for Apache Kafka in this release.

6.1.3. Deprecations

There are no deprecations for Streams for Apache Kafka in this release.

6.2. Kafka Bridge

A summary of deprecations, removals, and breaking changes for Kafka Bridge.

6.2.1. Removals

This section lists features removed in this or earlier 3.x releases.

Kafka Bridge span attributes

Kafka Bridge has removed the following span attributes in alignment with OpenTelemetry semantic convention updates:

  • 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

    These changes affect distributed tracing and reflect the transition to updated OpenTelemetry conventions.

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.

6.2.2. Breaking changes

There are no breaking changes for Kafka Bridge in this release.

6.2.3. Deprecations

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.
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部