This function reads messages received by a KAFKA consumer. It fetches one message at a time
Usage
rkafka.read(ConsumerObj)
Arguments
ConsumerObj
Consumer through which messages are to be read
Required:Mandatory
Type:Consumer
Value
String
Details
This function returns one message at a time from the topic to which the consumer is associated. If no new message is found with 'x' time(set by ConsumerTimeoutMs property), then it returns ""