Skip to content

Commit 1a176be

Browse files
authored
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 <[email protected]>, Andrew Schofield <[email protected]>
1 parent 73f195f commit 1a176be

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,7 @@ private void logInternalConverterRemovalWarnings(Map<String, String> props) {
325325
if (!removedProperties.isEmpty()) {
326326
log.warn(
327327
"The worker has been configured with one or more internal converter properties ({}). "
328-
+ "Support for these properties was deprecated in version 2.0 and removed in version 3.0, "
329-
+ "and specifying them will have no effect. "
330-
+ "Instead, an instance of the JsonConverter with schemas.enable "
331-
+ "set to false will be used. For more information, please visit "
332-
+ "https://kafka.apache.org/documentation/#upgrade and consult the upgrade notes"
333-
+ "for the 3.0 release.",
328+
+ "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.",
334329
removedProperties);
335330
}
336331
}

0 commit comments

Comments
 (0)