[
https://issues.apache.org/jira/browse/GOBBLIN-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hung Tran resolved GOBBLIN-995.
-------------------------------
Fix Version/s: 0.15.0
Resolution: Fixed
Issue resolved by pull request #2840
[https://github.com/apache/incubator-gobblin/pull/2840]
> Add function to instantiate the BulkConnection in SFDC connector
> ----------------------------------------------------------------
>
> Key: GOBBLIN-995
> URL: https://issues.apache.org/jira/browse/GOBBLIN-995
> Project: Apache Gobblin
> Issue Type: New Feature
> Reporter: Alex Li
> Priority: Major
> Fix For: 0.15.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In SalesforceExtractor class, we instantiated BulkConnection directly.
> {code:java}
> this.bulkConnection = new BulkConnection(config);
> {code}
> This code makes it is impossible to inject a customized BulkConnection.
> In contrast, httpClient was instantiated in a function. We could extend the
> class and override the function to return a customized httpClient
> (GaapHttPClient in our case)
> We should add a function to instantiate the BulkConnection.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)