https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#repositories.scrolling.keyset
https://docs.spring.io/spring-data/commons/reference/repositories/scrolling.html
Both JPA and commons docs use KeySetScrollPosition.initialize() in examples, and they explain no other ways for keyset based scrolling.
But the example code is not working, because KeySetScrollPosition.initialize() is a package private method.