Consumer Deserializer

This lesson discusses the deserializers a consumer may use to convert streams of bytes back into objects.

We'll cover the following...

As discussed earlier, Kafka producers use serializers to write objects as streams of bytes to partitions. When the consumers read records from a partition, they read a stream of bytes and need deserializers to convert the byte stream back into an object. It is imperative that the deserializer used to convert the byte streams into objects should match the serializer that initially transformed the objects into the byte stream. For instance, you can’t ...