You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Alex Li (Jira)" <ji...@apache.org> on 2019/12/05 08:37:00 UTC
[jira] [Created] (GOBBLIN-995) Add function to instantiate the
BulkConnection in SFDC connector
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)