I want to perform pagination aggregation, is it possible in Elastic Search
I think this aggregation should help you:
Composite aggs will work if you are sorting results by the key of the bucket. However if you want to sort them by a child aggregation (e.g. product keywords sorted by sum of sale double fields) then you'd need a different approach.
This wizard might help understand the trade-offs https://embed.plnkr.co/zCPNM2OcM3lxEYg4M7rD/