Producer Role
When an event occurs, the producer formats a message, also referred to as a record, and sends it to a Kafka topic.
A message consists of one required field, the value, and three optional fields:
A key — The key is used to determine whi...