The first time a consumer is created, it needs to figure out the group
coordinator by asking the Kafka brokers and joins the consumer group. This
process takes some time to complete. That’s why when a consumer instance is
created first time, it may return empty messages until consumer group
coordination is completed.