In modern (internet) computing, we often forget that entities must be transmitted from one computer to another. In order to be able to transmit the entities, they must first be serialized.
Serialization is the process of transforming an object into a stream of bytes commonly used to transmit it from one computer to another.
Deserialization, as the name implies, is the opposite of serialization, that is, to convert a stream of bytes into an object (for didactic purposes, we can say that the object is inflated or rehydrated), normally from the side that receives the message. Kafka provides Serializer/Deserializer (SerDe) for the primitive data types (byte, integer, long, double, String, and so on).
In this chapter, a new company is introduced: Kioto (standing for Kafka Internet of Things). This chapter covers the following topics:
- How to build a Java PlainProducer...