I am using python 3.7 and confluent-kafka.
Following is the pseudo code which I am using to poll the kafka server and read the message.
while T