[
https://issues.apache.org/jira/browse/KAFKA-21065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123184#comment-18123184
]
Chia-Ping Tsai commented on KAFKA-21065:
----------------------------------------
[~lvphu] Someone has filed the patch :)
> Streamline `BytesApiMessageSerde` and `RemoteLogMetadataSerde`
> --------------------------------------------------------------
>
> Key: KAFKA-21065
> URL: https://issues.apache.org/jira/browse/KAFKA-21065
> Project: Kafka
> Issue Type: Improvement
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
>
> It seems {{BytesApiMessageSerde}} was designed as an abstract class so that
> other topics' serialization could leverage it. Unfortunately, that never
> happened over the past 5 years, so it is time to streamline it.
> BTW, {{RemoteLogMetadataSerde}} could use the new {{instanceof}} pattern
> matching to simplify the type checks 🙂
--
This message was sent by Atlassian Jira
(v8.20.10#820010)