Alex Li created GOBBLIN-995:
-------------------------------
Summary: 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
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)