chia7712 commented on code in PR #16019:
URL: https://github.com/apache/kafka/pull/16019#discussion_r1686481284
##########
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:
> If we don't change className to
TransactionLogMessageFormatter.class.getName(), do we use implementation from
scala or java?
that is a good point. The replacement does not generate same output as
before. The previous output is not json format, but we want to leverage the
protocol json mechanism ...
@m1a2st Could you please update the jira description to avoid misdirecting
readers.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]