Return null when no messages consumed from Kafka.