[ https://issues.apache.org/jira/browse/KAFKA-16830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856737#comment-17856737 ]
Ksolves commented on KAFKA-16830: --------------------------------- [~brandboat] I didn't check that it was assigned to you. Also, I have assigned this to myself. Let me know if you're working on this. > Remove the scala version formatters support > ------------------------------------------- > > Key: KAFKA-16830 > URL: https://issues.apache.org/jira/browse/KAFKA-16830 > Project: Kafka > Issue Type: Improvement > Reporter: Chia-Ping Tsai > Assignee: Ksolves > Priority: Minor > Fix For: 4.0.0 > > > https://github.com/apache/kafka/blob/trunk/tools/src/main/java/org/apache/kafka/tools/consumer/ConsoleConsumerOptions.java#L353 > > {code:java} > private static String convertDeprecatedClass(String className) { > switch (className) { > case "kafka.tools.DefaultMessageFormatter": > System.err.println("WARNING: > kafka.tools.DefaultMessageFormatter is deprecated and will be removed in the > next major release. " + > "Please use > org.apache.kafka.tools.consumer.DefaultMessageFormatter instead"); > return DefaultMessageFormatter.class.getName(); > case "kafka.tools.LoggingMessageFormatter": > System.err.println("WARNING: > kafka.tools.LoggingMessageFormatter is deprecated and will be removed in the > next major release. " + > "Please use > org.apache.kafka.tools.consumer.LoggingMessageFormatter instead"); > return LoggingMessageFormatter.class.getName(); > case "kafka.tools.NoOpMessageFormatter": > System.err.println("WARNING: kafka.tools.NoOpMessageFormatter > is deprecated and will be removed in the next major release. " + > "Please use > org.apache.kafka.tools.consumer.NoOpMessageFormatter instead"); > return NoOpMessageFormatter.class.getName(); > default: > return className; > } > } > {code} > Those deprecated formatters "strings" should be removed from 4.0.0 -- This message was sent by Atlassian Jira (v8.20.10#820010)