writing messages, as text\array\arrayobj to kafka topic
consuming test as JSON