[jira] [Assigned] (KAFKA-16830) Remove the scala version formatters support
[ https://issues.apache.org/jira/browse/KAFKA-16830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kuan Po Tseng reassigned KAFKA-16830: - Assignee: Kuan Po Tseng (was: Ksolves) > 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: Kuan Po Tseng >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)
[jira] [Assigned] (KAFKA-16830) Remove the scala version formatters support
[ https://issues.apache.org/jira/browse/KAFKA-16830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ksolves reassigned KAFKA-16830: --- Assignee: Ksolves (was: Kuan Po Tseng) > 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)