Pagination for Druid GroupBy query

One of the limitations in druid, is that you can’t do pagination for a GroupBy queries according to the documentation.

This is a very problematic limitation in our case, the total response size for our queries may be over 10Mb. I think the official response is to do pagination on client side, but I’m wondering if there is any possibility to implement this on a druid side (writing a custom plugin or postaggregation extension)? We would rather apply this on Druid and throw away 99% of the other data, than sending it over the network and doing the same operation on the client.