此内容没有您所选择的语言版本。
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.EnvVarConfigProviderclass is no longer available. Useorg.apache.kafka.common.config.provider.EnvVarConfigProviderinstead:config.providers.env.class=org.apache.kafka.common.config.provider.EnvVarConfigProvider
config.providers.env.class=org.apache.kafka.common.config.provider.EnvVarConfigProviderCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Identity replication policy for Kafka MirrorMaker 2
-
The
mirror-maker-2-extensionscomponent has been removed. Useorg.apache.kafka.connect.mirror.IdentityReplicationPolicyinstead.
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.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 replacementThese 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/v2endpoint returnsHTTP 410 Gone. Both the/openapiand/openapi/v3endpoints 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_ENABLEDenvironment variable used to enable metrics for the Strimzi Kafka Bridge is now deprecated. Users who are currently usingKAFKA_BRIDGE_METRICS_ENABLEDshould migrate to usingbridge.metrics. Specifically, they should setbridge.metrics=jmxPrometheusExporterin theirapplication.propertiesfile to continue using Prometheus JMX Exporter.