This article shares how to make use of Avro to publish and consume
typed-messages to and from Kakfa broker.
We begin with creating Avro schema in this content
{
"namespace": "sg.com.cyder.kafka.log.avro",
"type": "record",
"name": "ApiLog",
"fields": [{
"name": "timestamp",
"type": "long"
}, {
"name": "host",
"type": "string"
}, {
"name": "category"