This is to come up with an API which will give the pending amount of data to be consumed by a databus consumer.