Kafka producer Vs. consumer messages
Kafka is an intermediate server that receives a message from a producer and sends them to the consumer. Here is a set of 10 Kafka Interview Questions.
Kafka message format
Each message has a timestamp, a value, and an optional key. Custom headers can be used if desired as well.A simple example of a message could be something like the following: the machine with host ID “1234567” (a message key) failed with the message “Alert: Machine Failed” (a message value) at “2020-10-02T10:34:11.654Z” (a message timestamp). Here is Kafka's flowchart for dummies.
Kafka record
Each key and value can interact in its own specific ways to serialize or deserialize its data.
References
0 Comments
Thanks for your message. We will get back you.