FrankYang0529 commented on code in PR #16019: URL: https://github.com/apache/kafka/pull/16019#discussion_r1686466843
########## tools/src/main/java/org/apache/kafka/tools/consumer/ConsoleConsumerOptions.java: ########## @@ -364,6 +364,10 @@ private static String convertDeprecatedClass(String className) { 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(); + case "kafka.coordinator.transaction.TransactionLog$TransactionLogMessageFormatter": + System.err.println("WARNING: kafka.coordinator.transaction.TransactionLog$TransactionLogMessageFormatter is deprecated and will be removed in the next major release. " + + "Please use org.apache.kafka.tools.consumer.TransactionLogMessageFormatter instead"); + return className; Review Comment: From JIRA description: > That is to say, `ConsoleConsumer` can accept the previous package name and then use the (java) implementation to parse and make same output. If we don't change `className` to `TransactionLogMessageFormatter.class.getName()`, do we use implementation from scala or java? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org