Spring Boot and MongoTemplate: How to Add Pagination to MongoDB Query Results This is a nice little hack.
Java Streams: How to Implement Pagination With skip() and limit() Need to turn your monstrously large Java Stream into a paginated List? If so, I've got you covered.