public Serializer<K> keySerializer() {
        return keySerde.serializer();
    }
Return the key serializer.

@return the key serializer
streams/src/main/java/org/apache/kafka/streams/state/StateSerdes.java