Stig Rohde Døssing created KAFKA-16021:
------------------------------------------
Summary: 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
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)