Writing the Kafka's Magic Byte and Schema ID for each message produced.