MINOR: Reword warning message when internal deprecated properties are used (#20224)

This is a small typo I noticed while working on Connect

Original warning message

> level=WARN connector_context=The worker has been configured with one
or more internal converter properties ([internal.key.converter,
schemas.enable, internal.value.converter, schemas.enable]). Support for
these properties was deprecated in version 2.0 and removed in version
3.0, and specifying them will have no effect. Instead, an instance of
the JsonConverter with schemas.enable set to false will be used. For
more information, please visit
https://kafka.apache.org/documentation/#upgrade and consult the upgrade
notesfor the 3.0 release.
class=org.apache.kafka.connect.runtime.WorkerConfig line=310

Reviewers: Ken Huang <s7133700@gmail.com>, Andrew Schofield
 <aschofield@confluent.io>
This commit is contained in:
Yeikel Santana 2025-07-27 16:12:49 -04:00 committed by GitHub
parent 73f195f062
commit 1a176beff1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -325,12 +325,7 @@ public class WorkerConfig extends AbstractConfig {
if (!removedProperties.isEmpty()) { if (!removedProperties.isEmpty()) {
log.warn( log.warn(
"The worker has been configured with one or more internal converter properties ({}). " "The worker has been configured with one or more internal converter properties ({}). "
+ "Support for these properties was deprecated in version 2.0 and removed in version 3.0, " + "These properties have been removed since version 3.0 and an instance of the JsonConverter with schemas.enable set to false will be used instead.",
+ "and specifying them will have no effect. "
+ "Instead, an instance of the JsonConverter with schemas.enable "
+ "set to false will be used. For more information, please visit "
+ "https://kafka.apache.org/documentation/#upgrade and consult the upgrade notes"
+ "for the 3.0 release.",
removedProperties); removedProperties);
} }
} }