Learn how to implement offset and cursor-based pagination in a Quarkus application that connects to MongoDB.