Skip to content

Documentation fix? #1744

@Stexxen

Description

@Stexxen

While performing some testing on Streams in Repositories i.e.

Stream<Thing> findAllBySomething();

I came up against the max scroll Context error refered to in #406 and #1337
Trying to create too many scroll contexts. Must be less than or equal to: [500]

At the bottom of Section 11.2 the following is stated
image

If the Stream is not closed and you are able to create 500 scroll contexts within the 60 seconds it triggers the exception.

I wondered if it was worth explaining that a try-with-resources should be used to make sure the Stream was closed and therefore the scroll context?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions