Skip to main content

getDefaultReadLimit

Returns the read limit potentially passed to the data source through options when creating the data source.

Implementing this method is optional. By default, it returns ReadAllAvailable, which means there is no limit on the amount of data returned by latestOffset().

Syntax

getDefaultReadLimit()

Returns

ReadLimit

The default read limit for this data source. See the built-in implementations of ReadLimit for available read limits.

On this page