[ 
https://issues.apache.org/jira/browse/KAFKA-16021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divij Vaidya resolved KAFKA-16021.
----------------------------------
    Resolution: Fixed

> Eagerly load Charset for StringSerializer/StringDeserializer
> ------------------------------------------------------------
>
>                 Key: KAFKA-16021
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16021
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>    Affects Versions: 3.6.1
>            Reporter: Stig Rohde Døssing
>            Assignee: Stig Rohde Døssing
>            Priority: Minor
>             Fix For: 3.8.0
>
>
> StringSerializer and StringDeserializer currently use the String constructor 
> and getBytes methods that take the encoding as a String, necessitating a 
> Charset lookup every time those methods are called.
> We could save that lookup by performing it once during the serializer 
> configure call instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to