robert_kern
05/05/2021, 11:05 PMtap-salesforce | INFO Completed sync for Account
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 4354, "tags": {"endpoint": "Contact"}}
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 4302, "tags": {"endpoint": "Lead"}}
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 4709, "tags": {"endpoint": "Contact"}}
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 4652, "tags": {"endpoint": "Lead"}}
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 4707, "tags": {"endpoint": "Contact"}}
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 4573, "tags": {"endpoint": "Lead"}}
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 5077, "tags": {"endpoint": "Contact"}}
tap-salesforce | INFO METRIC: {"type": "counter", "metric": "record_count", "value": 4854, "tags": {"endpoint": "Lead"}}
target-postgres | INFO Stream Contact (contact) with max_version 1620254664902 targetting 1620254664902
target-postgres | INFO Root table name Contact
target-postgres | INFO Writing batch with 20723 records for `Contact` with `key_properties`: `['Id']`
meltano | Loading failed (-9): INFO Writing batch with 20723 records for `Contact` with `key_properties`: `['Id']`
meltano | ELT could not be completed: Loader failedrobert_kern
05/05/2021, 11:07 PMmeltano.yml file it looks like this:
- name: tap-salesforce
variant: meltano
pip_url: git+<https://gitlab.com/meltano/tap-salesforce.git>
load_schema: salesforce
select:
- Account.*
- Contact.*
- Contract.*
- Lead.*
- Opportunity.*
- OpportunityHistory.*
- User.*douwe_maan
05/05/2021, 11:08 PMdouwe_maan
05/05/2021, 11:08 PM-9 implies it was killed by SIGKILLdouwe_maan
05/05/2021, 11:09 PMmeltano elt explicitly state this if the exit code of the process was -9)douwe_maan
05/05/2021, 11:10 PMrobert_kern
05/05/2021, 11:11 PMrobert_kern
05/05/2021, 11:30 PMtarget-postgres | INFO Stream Lead (lead) with max_version 1620256953947 targetting 1620256953947 target-postgres | INFO Root table name Lead target-postgres | INFO Writing batch with 18641 records for `Lead` with `key_properties`: `['Id']` meltano | Loading failed (-9): INFO Writing batch with 18641 records for `Lead` with `key_properties`: `['Id']` meltano | ELT could not be completed: Loader failed
Same thing but will tweak those settings further and also increase memoryrobert_kern
05/05/2021, 11:39 PMTARGET_POSTGRES_MAX_BATCH_ROWS down to 1000 and it does appear to be working so far. I’ll see how it goes and might look at increasing that value later.
Thanks!chris_kings-lynne
05/07/2021, 7:20 AM