xiaofan2022 commented on code in PR #5561:
URL: https://github.com/apache/seatunnel/pull/5561#discussion_r1355065661
##########
seatunnel-connectors-v2/connector-http/connector-http-base/src/main/java/org/apache/seatunnel/connectors/seatunnel/http/config/HttpConfig.java:
##########
@@ -29,6 +29,38 @@ public class HttpConfig {
public static final boolean DEFAULT_ENABLE_MULTI_LINES = false;
public static final Option<String> URL =
Options.key("url").stringType().noDefaultValue().withDescription("Http request
url");
+ public static final Option<Long> TOTAL_PAGE_SIZE =
+ Options.key("total_page_size")
+ .longType()
+ .defaultValue(0L)
+ .withDescription("total page size");
+ public static final Option<String> JSON_VERIFY_EXPRESSION =
+ Options.key("json_verify_expression")
+ .stringType()
+ .noDefaultValue()
+ .withDescription("json verify expression ");
+ public static final Option<String> JSON_VERIFY_VALUE =
+ Options.key("json_verify_value")
+ .stringType()
+ .noDefaultValue()
+ .withDescription("json verify value ");
+ public static final Option<Long> MAX_PAGE_SIZE =
+ Options.key("max_page_size")
+ .longType()
+ .defaultValue(10000L)
+ .withDescription("max page size ");
+ public static final Option<String> PAGE_FIELD =
+ Options.key("page_field")
+ .stringType()
+ .defaultValue("page")
+ .withDescription("page field");
Review Comment:
done
--
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]