kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Bechtold (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-4424) Make serializer classes final
Date Sun, 20 Nov 2016 13:48:58 GMT
Matthias Bechtold created KAFKA-4424:
----------------------------------------

             Summary: Make serializer classes final
                 Key: KAFKA-4424
                 URL: https://issues.apache.org/jira/browse/KAFKA-4424
             Project: Kafka
          Issue Type: Improvement
          Components: clients
            Reporter: Matthias Bechtold
            Priority: Minor


Implementations of simple serializers / deserializers should be final to prevent JVM method
call overhead.
See also:
https://wiki.openjdk.java.net/display/HotSpot/VirtualCalls

This breaks the API slightly, inheritors must change to generic interfaces Serializer / Deserializer.
But architecture-wise final serialization classes make the most sense to me.

So what do you think?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message