[ https://issues.apache.org/jira/browse/KAFKA-16796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848282#comment-17848282 ]
Mickael Maison commented on KAFKA-16796: ---------------------------------------- Instead of MessageParser, should we instead need a replacement for kafka.serializer.Decoder? It seems the only interfaces users can provide are for Decoder via the value-decoder-class and key-decoder-class flags. We should be able to do like we did with MessageFormatter in [KIP-597|https://cwiki.apache.org/confluence/display/KAFKA/KIP-597%3A+MirrorMaker2+internal+topics+Formatters], meaning introduce a new Java interface and have the existing Scala classes implement it. > Introduce new org.apache.kafka.tools.api.MessageParser to replace > kafka.tools.DumpLogSegments.MessageParser > ----------------------------------------------------------------------------------------------------------- > > Key: KAFKA-16796 > URL: https://issues.apache.org/jira/browse/KAFKA-16796 > Project: Kafka > Issue Type: Sub-task > Reporter: Chia-Ping Tsai > Assignee: PoAn Yang > Priority: Minor > Labels: need-kip > > We need a replacement in order to complete > https://issues.apache.org/jira/browse/KAFKA-14579 in kafak 4.0 -- This message was sent by Atlassian Jira (v8.20.10#820010)