Ashutosh Gupta created CAMEL-17127:
--------------------------------------

             Summary: Default Bulk API V2 client does not allow locator and 
maxRecords query param to be added  for get query results endpoint.
                 Key: CAMEL-17127
                 URL: https://issues.apache.org/jira/browse/CAMEL-17127
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
            Reporter: Ashutosh Gupta


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to