Process Flow - Serialization (String, JSON, Avro)
Start: Data in memory
Choose serialization format
Serialize data to bytes
Send bytes to Kafka topic
Consumer reads bytes
Deserialize bytes back to data
Use data in application
End
Data is converted from memory format to bytes using a chosen serialization method, sent through Kafka, then converted back to usable data by the consumer.