This function reads messages received by a KAFKA consumer. It returns a batch of messages
Usage
rkafka.readPoll(ConsumerObj)
Arguments
ConsumerObj
Consumer through which messages are to be read
Required:Mandatory
Type:Consumer
Value
Array of Strings
Details
This function returns messages as a batch 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 ""