Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Unknown
Description
Salesforce Bulk API v2 Get Query Job Result endpoint has provision to pass locator and maxRecords query params in url which allows pagination in case of huge data set but "
bulk2GetQueryJobResults" operation of camel-salesforce component have a hardcoded url which does not have these queryparam:
https://github.com/apache/camel/blob/aef037026f354bfe09f4009821a027ca535a1619/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/client/DefaultBulkApiV2Client.java#L204
Therefore, if a data set is too big then we can only receive data of first page/file and there is no way to get next set of data.
Attachments
Issue Links
- links to