Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16021

Eagerly load Charset for StringSerializer/StringDeserializer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6.1
    • 3.8.0
    • clients
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              srdo Stig Rohde Døssing
              srdo Stig Rohde Døssing
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: