Hisoka-X commented on PR #5561:
URL: https://github.com/apache/seatunnel/pull/5561#issuecomment-1760923129
> Is it to eliminate the 'max_page_size' configuration and use
'json_verify_expression' + 'json_verify_value' + 'batch_size' to achieve
pagination when there is no 'total page' field?
I think use batch_size(or call page_size)/page_field/page_size_field is
already enough. eg:
``` hocon
{
page_size = 100
page_field = page
page_size_field = page_size
}
http://localhost:8080/people?page=1&page_size = 100
http://localhost:8080/people?page=2&page_size = 100
```
So we don't need to parse json response body to check value.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]